Workspaces
Add user in workspace
Add users inside of given workspace
post/workspaces/{workspace_id}/users
Request
- Base URL: https://app.mammoth.io/api/v2
- URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/users
- Auth: one of:
- HTTP bearer
- API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID
Path parameters
workspace_idinteger required
Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
Example:4
Request body
Example request
{
"invite": {
"email_ids": [
"apitests2@mammoth.io"
],
"projects": [
{
"project_id": 1,
"role": "project_analyst"
}
]
}
}Response
Invited user emails
Changes
No recorded changes to this operation across all 3 revisions of this API.