Skip to main content
POST
CreateUserOwner

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.

role_slug
string
required

The roleSlug field.

user_ref_id
string
required

The id of the user.

Body

application/json

CreateUserUserOwnerRequest is the request for creating a user ownership source on a user (service account).

userRef
User Ref · object | null

A reference to a user.

Response

200 - application/json

CreateUserUserOwnerResponse is the response for creating a user ownership source on a user (service account).

CreateUserUserOwnerResponse is the response for creating a user ownership source on a user (service account).

userOwnerUser
User Owner User · object | null

UserOwnerUser represents a user ownership source for a canonical User (a service account).