Patch Patch Role

Patch Patch Role

Updates role's information. Commonly used to assign users to this role. The role id is a unique internal identifier and can be retrieved using the search API /scim/Roles?filter=... Patch operation allows to send in the request the attributes that need to be changed only.

Request
URI
PATCH
https://{api_host}//SAAS/jersey/manager/api/scim/Roles/{id}
COPY
Path Parameters
string
id
Required

the id of the role to update

id example
a1ac2b75-6c41-45e9-8349-59746c529ccb

Request Body

the role resource to be updated as a JSON string

SdkRoleResource of type(s) application/json
Required
{
    "displayName": "Administrator",
    "resourceDescriptor": {
        "endpoint": "string",
        "description": "string",
        "name": "string",
        "attributeSchemas": [
            "string"
        ],
        "strictMode": false,
        "scimObject": {
            "schemas": [
                "string"
            ]
        },
        "meta": {
            "lastModified": "string",
            "version": "string",
            "location": "string",
            "created": "string"
        },
        "externalId": "string",
        "attributes": [
            {
                "subAttributes": [
                    "AttributeDescriptor Object"
                ],
                "description": "string",
                "canonicalValues": [
                    {
                        "operation": "string",
                        "type": "string",
                        "primary": false,
                        "value": "string",
                        "display": "string"
                    }
                ],
                "dataType": "string",
                "required": false,
                "caseExact": false,
                "name": "string",
                "readOnly": false,
                "multiValuedChildName": "string",
                "multiValued": false,
                "schema": "string"
            }
        ],
        "schema": "string",
        "id": "string",
        "resourceDescriptor": "ResourceDescriptor Object"
    },
    "urn:scim:schemas:extension:workspace:1.0": {
        "description": "read-only admin with limited access to file system"
    },
    "scimObject": {
        "schemas": [
            "string"
        ]
    },
    "meta": {
        "lastModified": "string",
        "version": "string",
        "location": "string",
        "created": "string"
    },
    "externalId": "string",
    "members": [
        {
            "operation": "string",
            "type": "string",
            "primary": false,
            "value": "string",
            "display": "string"
        }
    ],
    "id": "string",
    "schemas": [
        "string"
    ]
}
string
displayName
Optional

The display name for this role

resourceDescriptor
Optional

resourceDescriptor

urn:scim:schemas:extension:workspace:1.0
Optional

urn:scim:schemas:extension:workspace:1.0

scimObject
Optional

scimObject

meta
Optional

meta

string
externalId
Optional

externalId

members
Optional

The set of users or groups that have been assigned to this role or null if none

string
id
Optional

id

array of string
schemas
Optional

The set of schemas currently contributing attributes to this role

Authentication
This operation uses the following authentication methods.
Responses
400

If the supplied serialized JSON role is malformed

Operation doesn't return any data structure

401

No authentication provided

Operation doesn't return any data structure

403

Unauthorized

Operation doesn't return any data structure

404

If role or role member id is not found

Operation doesn't return any data structure

500

Server error while patching SCIM role

Operation doesn't return any data structure