Workspaces API
Version: 1.0
Add user to instance
POST
/workspace/orgs/{org_id}/membersAdd user to the Evo instance
Request
Example body
{
"users": [
{
"email": "string",
"roles": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
]
}
Responses
201
Successful Response
Response schema
invitationsobject[]
created_datedate-time
emailstring
expiration_datedate-time
iduuid
invited_by_emailstring
rolesobject[]
descriptionstring
iduuid
namestring
statusstring
membersobject[]
emailstring
full_namestring
iduuid
rolesobject[]
descriptionstring
iduuid
namestring
Example response
{
"invitations": [
{
"created_date": "2024-07-29T15:51:28.071Z",
"email": "string",
"expiration_date": "2024-07-29T15:51:28.071Z",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"invited_by_email": "string",
"roles": [
{
"description": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
],
"status": "string"
}
],
"members": [
{
"email": "string",
"full_name": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"roles": [
{
"description": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
]
}
]
}
401
No permission -- see authorization schemes
Response schema
detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring
Example response
{
"detail": "string",
"invalid-params": [
{
"name": "string",
"reason": "string"
}
],
"status": 0,
"title": "string",
"type": "string"
}
403
Request forbidden -- authorization will not help
Response schema
detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring
Example response
{
"detail": "string",
"invalid-params": [
{
"name": "string",
"reason": "string"
}
],
"status": 0,
"title": "string",
"type": "string"
}
404
Resource not found or user lacks access
Response schema
detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring
Example response
{
"detail": "string",
"invalid-params": [
{
"name": "string",
"reason": "string"
}
],
"status": 0,
"title": "string",
"type": "string"
}
405
Specified method is invalid for this resource
Response schema
detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring
Example response
{
"detail": "string",
"invalid-params": [
{
"name": "string",
"reason": "string"
}
],
"status": 0,
"title": "string",
"type": "string"
}
422
Unprocessable Content
Response schema
detailstring | null
invalid-paramsarray | null
statusinteger
titlestring
typestring
Example response
{
"detail": "string",
"invalid-params": [
{
"name": "string",
"reason": "string"
}
],
"status": 0,
"title": "string",
"type": "string"
}