Workspaces
Get the workspace of the calling credential
Returns the id of the workspace the API token belongs to, the server an OAuth token was issued for, the project the credential is pinned to, and whether it was granted read-only
get/workspaces/current
Request
- Base URL: https://app.mammoth.io/api/v2
- URL: https://app.mammoth.io/api/v2/workspaces/current
- 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
Response
Get details of a workspace
Example response
{
"workspaces": [
{
"workspace_metadata": {
"value": {
"workspace_metadata": {}
}
},
"subscription": {
"value": {
"subscription": {}
}
}
}
]
}Changes
No recorded changes to this operation across all 3 revisions of this API.