Fetch organization information
editFetch organization information
editFetch a single organization by id. Currently unavailable in self-hosted ECE.
Request
editGET /api/v1/organizations/{organization_id}
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
Identifier for the Organization |
Responses
edit-
200
-
Organization fetched successfully
-
401
-
User not found. (code:
user.not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [user.not_found
]) - The error codes associated with the response
-
-
403
-
The current user does not have access to the requested organization. (code:
organization.invalid_access
)Headers
-
x-cloud-error-codes
(string
; allowed values: [organization.invalid_access
]) - The error codes associated with the response
-
-
404
-
Organization not found. (code:
organization.not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [organization.not_found
]) - The error codes associated with the response
-
Request example
editcurl -XGET https://{{hostname}}/api/v1/organizations/{organization_id} \ -H "Authorization: ApiKey $ECE_API_KEY"