Update an AppRole

PATCH {{stripeUrl}}/admin/v1/AppRoles/{{appRoleID}}

Update an attribute for the AppRole.

Note: The attribute isUnmanaged must be set to true when the App is created.

This attribue is immutable after the application is created.

You can't manage AppRoles for an App where isUnmanaged is set to false.

Also, the isManaged attribute can't be set to true when isUnmanaged is also set to true. A validation error occurs.

Request Body

{"schemas"=>["urn:ietf:params:scim:api:messages:2.0:PatchOp"], "Operations"=>[{"op"=>"replace", "path"=>"description", "value"=>"The Admin AppRole for the Human Resources Portal"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
Datestring
x-content-sha256string

RESPONSES

status: OK

{"displayName":"User1 Role","idcsLastModifiedBy":{"type":"App","value":"c4b20a6b16e24fec9e3e18322c997297","display":"Demo","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/c4b20a6b16e24fec9e3e18322c997297"},"description":"The Admin AppRole for the Human Resources Portal","idcsCreatedBy":{"type":"App","display":"Demo","value":"c4b20a6b16e24fec9e3e18322c997297","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/c4b20a6b16e24fec9e3e18322c997297"},"public":false,"availableToClients":false,"id":"66ceafd707a346e0a14b8ed3395cc5ec","meta":{"created":"2019-03-19T08:27:00.040Z","lastModified":"2019-03-21T08:10:34.209Z","resourceType":"AppRole","location":"https://bravoe.identity.internal.oracle.com/admin/v1/AppRoles/66ceafd707a346e0a14b8ed3395cc5ec"},"adminRole":true,"availableToUsers":true,"availableToGroups":true,"app":{"value":"1729053f9c4043058501e9455e660cd8","name":"a192ad5a853149729ad12dacf76271ed","display":"IDCS Portal","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/1729053f9c4043058501e9455e660cd8"},"schemas":["urn:ietf:params:scim:schemas:oracle:idcs:AppRole"]}