Skip to content
Organization

Get the Organization

Returns the Organization of the API key.

GET /organizations/{organizationId}

Permission: Organization (Read). See API permissions.

ParameterInTypeRequiredDescription
organizationIdPathstringYesThe Organization ID of the API key. Any other ID returns 404.

Request example

cURL
curl "$API_BASE_URL/organizations/$ORGANIZATION_ID" \
-H "Authorization: Bearer $NCP_API_TOKEN"
FieldTypeDescription
organizationIdstringThe Organization ID.
namestringThe name of the Organization.

Response example

200
{
"organizationId": "642012",
"name": "Example Org"
}
StatuserrorCodeWhen
404RESOURCE_NOT_FOUNDorganizationId is not the Organization of the API key.

Errors common to all operations are in Errors.

Next