Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNyIsImVtYWlsIjoiZW1haWwtMTEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTh9.mDqEYlfEB3GFI8Xg8Rqy1k4ZUIVl1dLKg8e66uFtEYQ
Host: example.org
Cookie: 

Route

GET /v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1

cURL

curl "https://api.[your-domain.com]/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNyIsImVtYWlsIjoiZW1haWwtMTEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTh9.mDqEYlfEB3GFI8Xg8Rqy1k4ZUIVl1dLKg8e66uFtEYQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6ece6e9a-e7f0-4da0-9ac5-48b62cced889
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "07f94384-0ffc-47f2-86e6-ccce9a0218d1",
    "url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1",
    "created_at": "2014-11-24T19:32:38+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-536",
    "billing_enabled": false,
    "quota_definition_guid": "93335638-8ba2-4d56-aa2a-2a23ff4d59a4",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/93335638-8ba2-4d56-aa2a-2a23ff4d59a4",
    "spaces_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/spaces",
    "domains_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/domains",
    "private_domains_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/private_domains",
    "users_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/users",
    "managers_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/managers",
    "billing_managers_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/billing_managers",
    "auditors_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/auditors",
    "app_events_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/app_events",
    "space_quota_definitions_url": "/v2/organizations/07f94384-0ffc-47f2-86e6-ccce9a0218d1/space_quota_definitions"
  }
}