Skip to main content
POST
Create User Relationship

Authorizations

Authorization
string
header
required

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

Body

application/json
userId
string
required
relationshipType
enum<string>
required
Available options:
USER_RELATIONSHIP_TYPE_UNSPECIFIED,
USER_RELATIONSHIP_TYPE_MANAGER
pin
boolean | null

Pin the assignment against automation (user ingestion) overwrites. Defaults by principal: user-token writes pin, API-key writes don't. Release through UpdateUser's release_fields (MANAGER).

Response

200 - application/json

Success

data
data · object