Retrieves the current account for the token accessing the API
Retrieves the current account for the token accessing the API. Useful to check if the credentials are valid.
Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"spec": {
"workspaces": [
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
]
}
}Changes
Changed in 8 of the 57 revisions of this API.59
- ●
removed the optional property
info/globalApiKeyfrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the optional property
info/globalApiKeyto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
info/globalApiKeyfrom the response with the200statusresponse-optional-property-removed
- ●
- ●
removed the optional property
info/globalApiKey/allOf[APIKey]/info/workspacesPreviewfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
info/globalApiKey/allOf[APIKey]/info/workspacesTotalfrom the response with the200statusresponse-optional-property-removed
- ○
added the required property
info/globalApiKey/allOf[APIKey]/stateto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
info/challengeTokento the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
info/globalApiKey/allOf[APIKey]/info/createdBy/allOf[Profile]/metadata/createdAtto the response with the200statusresponse-optional-property-added
- ○
added the optional property
info/globalApiKey/allOf[APIKey]/metadata/createdAtto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/createdAtto the response with the200statusresponse-optional-property-added
- ○
added the optional property
spec/workspaces/items/infoto the response with the200statusresponse-optional-property-added
- ○
added the optional property
spec/workspaces/items/metadata/createdAtto the response with the200statusresponse-optional-property-added
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
PROFILE_TYPE_UNSPECIFIEDenum value to theinfo/globalApiKey/allOf[APIKey]/info/createdBy/allOf[Profile]/spec/typeresponse property for the response status200response-property-enum-value-added
- ●
- ○
added the optional property
spec/workspaces/items/statusto the response with the200statusresponse-optional-property-added
- ○