...
Code Block | ||
---|---|---|
| ||
{ "Create": { "Clients": [ <ARRAY OF CLIENT OBJECTS TO CREATE> ], "IdentityResources": [ <ARRAY OF IDENTITY RESOURCE OBJECTS TO CREATE> ], "ApiResources": [ <ARRAY OF API RESOURCE OBJECTS TO CREATE> ] }, "Update": { "Clients": [ <ARRAY OF CLIENT OBJECTS TO UPDATE> ], "IdentityResources": [ <ARRAY OF IDENTITY RESOURCE OBJECTS TO UPDATE> ], "ApiResources": [ <ARRAY OF API RESOURCE OBJECTS TO UPDATE> ] }, "Delete": { "ClientIdList": [ "client-id" ], "IdentityResourceNameList": [ "identity-resource-name" ], "ApiResourceNameList": [ "api-resource-name" ] } } |
Response
Create Success
Status: 200 OK
Code Block | ||
---|---|---|
| ||
{
"CreateClients": [
{
"Key": "postman-client",
"Message": "Client creation successful.",
"Successful": true
}
],
"CreateApiResources": [
{
"Key": "postman-api-resource",
"Message": "ApiResource creation successful.",
"Successful": true
}
],
"CreateIdentityResources": [
{
"Key": "postman-identity-resource",
"Message": "IdentityResource creation successful.",
"Successful": true
}
]
} |
Update Success
Status: 200 OK
Code Block | ||
---|---|---|
| ||
{
"UpdateClients": [
{
"Key": "postman-client",
"Message": "Client successfully updated.",
"Successful": true
}
],
"UpdateApiResources": [
{
"Key": "postman-api-resource",
"Message": "ApiResource successfully updated.",
"Successful": true
}
],
"UpdateIdentityResources": [
{
"Key": "postman-identity-resource",
"Message": "IdentityResource successfully updated.",
"Successful": true
}
]
} |
Delete Success
Status: 200 OK
Code Block | ||
---|---|---|
| ||
{
"DeleteClients": [
{
"Key": "postman-client",
"Message": "Client deletion successful.",
"Successful": true
}
],
"DeleteApiResources": [
{
"Key": "postman-api-resource",
"Message": "ApiResource deletion successful.",
"Successful": true
}
],
"DeleteIdentityResources": [
{
"Key": "postman-identity-resource",
"Message": "IdentityResource deletion successful.",
"Successful": true
}
]
} |