Home
Version 3
Organizations API

Organizations API

Associate Manager with the Organization

PUT /v2/organizations/:guid/managers/:manager_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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.u9MgnwqJmWZzAvW47uhjPwXdqjyNwCD7JoFhFA6qoEA
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

PUT /v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/managers/uaa-id-349

cURL

curl "https://api.[your-domain.com]/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/managers/uaa-id-349" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODV9.u9MgnwqJmWZzAvW47uhjPwXdqjyNwCD7JoFhFA6qoEA" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 573c742e-7c26-41cd-b99b-8c5f89687b31
Content-Length: 1300
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "fb6dbe8b-6081-4f87-acfa-88d1af026014",
    "url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014",
    "created_at": "2015-01-27T19:14:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1969",
    "billing_enabled": false,
    "quota_definition_guid": "3155f68b-1254-48a5-ba90-6d10abace2b2",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/3155f68b-1254-48a5-ba90-6d10abace2b2",
    "spaces_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/spaces",
    "domains_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/domains",
    "private_domains_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/private_domains",
    "users_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/users",
    "managers_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/managers",
    "billing_managers_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/billing_managers",
    "auditors_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/auditors",
    "app_events_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/app_events",
    "space_quota_definitions_url": "/v2/organizations/fb6dbe8b-6081-4f87-acfa-88d1af026014/space_quota_definitions"
  }
}