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
Request
- Base URL: https://api.elastic.io/v2
- URL: https://api.elastic.io/v2/contracts/{contract_id}/members
- Auth: HTTP basic
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"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.