Skip to main content
PUT
Set

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Path Parameters

user_id
string
required

The userId field.

Body

application/json

SetUserOwnersV2Request is the request for setting the owners of a user (service account) for a given role.

appEntitlementRefs
App Entitlement Ref · object[] | null

The appEntitlementRefs field.

roleSlug
string

The roleSlug field.

userRefs
User Ref · object[] | null

The userRefs field.

Response

200 - application/json

SetUserOwnersV2Response is the empty response for setting user owners.

SetUserOwnersV2Response is the empty response for setting user owners.