latestOpenAPI 3.0.02026-08-0819201.1 MB
411f9f98c01e
contracts
Adds existed platform user as a member to the specified contract.
You have to be a user with TenantAdmin role to access this resource.
post/contracts/{contract_id}/members
Path parameters
contract_idstring required
Contract identifier
Request body
Example request
{
"data": {
"id": "5b4f337bff4304610483ba67",
"attributes": {
"roles": [
"member"
]
}
}
}Response
Created
Example response
{
"data": {
"id": "5b4f337bff4304610483ba67",
"attributes": {
"first_name": "John",
"last_name": "Doe",
"roles": [
"admin"
],
"email": "john.doe@gmail.com"
}
}
}