Skip to content

Workspace: identity domains

View as Markdown

The domains a new identity may be created under: every active platform domain (the default first) with this workspace’s host on it, and the workspace’s own live custom domains

Section titled “The domains a new identity may be created under: every active platform domain (the default first) with this workspace’s host on it, and the workspace’s own live custom domains”

GET /v1/workspace/identity-domains · operation listIdentityDomains

Requires the batondeck:workspace:read permission (action workspace:read).

Responses

Status Meaning
200 The domains a new identity may be created under: every active platform domain (the default first) with this workspace’s host on it, and the workspace’s own live custom domains
401 No portal session, and no live API key.
403 The policy refused, or the request was cross-site.
404 No such resource, or none this session may see.
200 response schema
{
"type": "object",
"properties": {
"platform": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"domain": {
"type": "string"
},
"is_default": {
"type": "boolean"
},
"host": {
"type": "string"
}
},
"required": [
"id",
"domain",
"is_default",
"host"
],
"additionalProperties": false
}
},
"custom": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hostname": {
"type": "string"
}
},
"required": [
"hostname"
],
"additionalProperties": false
}
},
"custom_allowed": {
"type": "boolean"
}
},
"required": [
"platform",
"custom",
"custom_allowed"
],
"additionalProperties": false
}
Terminal window
curl -X GET 'https://api.batondeck.com/v1/workspace/identity-domains' \
-H "Authorization: Bearer $BATONDECK_API_KEY"

PrivacyThis site uses analytics; see Privacy.