Organizations
Get an organization by ID or URL Slug
GET
organization_id*stringThe numeric ID or URL Slug of an organization.
Accept*stringapplication/json
Content-Type*stringapplication/json
Ok
application/json- response
id*integerThe unique identifier for the organization
name*stringThe name of the organization
url_slug*stringThe URL Slug of the organization
resource_summary?array<>Summary of the resource
current_user_permissions*RolePermissionsThe list of permissions granted for this role
owner*|nullcreated_at*stringThe date and time when the organization was created
updated_at*stringThe date and time when the organization was last updated
curl -X GET 'https://api.devopness.com/organizations/johndoe' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <your_api_token>' \ -H 'Content-Type: application/json'Example Response
{ "id": 16523, "name": "My Organization", "url_slug": "MyOrganization", "resource_summary": [ { "resource_type": "environment", "resource_type_plural": "environments", "resource_type_human_readable": "Environment", "resource_type_human_readable_plural": "Environments", "summary": { "count": 1 } } ], "current_user_permissions": [ "application:read", "application:create", "server:read" ], "owner": { "id": 1, "name": "string", "email": "user@example.com", "url_slug": "someone", "language": "en", "active": true, "created_at": "2019-09-25T15:50:48.000000Z", "updated_at": "2019-09-25T13:52:04.000000Z" }, "created_at": "2019-09-25T15:50:48.000000Z", "updated_at": "2019-09-25T13:52:04.000000Z"}