Organizations
Get the current organization
- NOT_FOUND when the resource name is not the caller's organization.
Scope: organization:read
Authorization
bearerAuth AuthorizationBearer <token>
An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...
In: header
Path Parameters
organization*string
The organization id.
Response Body
application/json
curl -X GET "https://example.com/v1/organizations/string"{ "organization": { "id": "string", "name": "string", "display_name": "string", "resource_name": "string", "avatar_url": "string", "status": "STATUS_UNSPECIFIED", "owner_ids": [ "string" ], "etag": "string", "created_at": "2023-01-15T01:30:15.01Z", "updated_at": "2023-01-15T01:30:15.01Z" }}Add an owner to the current organization POST
- NOT_FOUND when `user_id` is not a member of the organization. Scope: `organization:write`
Remove an owner from the current organization POST
- NOT_FOUND when `user_id` is not a member of the organization. - FAILED_PRECONDITION when they are the last owner. An organization always has at least one. Scope: `organization:write`