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.eyJ1c2VyX2lkIjoidWFhLWlkLTUyIiwiZW1haWwiOiJlbWFpbC00NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.ctQ8jlzGQsOIsAalV5FkxFD3MoEVw3phFgNXiR8VkTs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

PUT /v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/managers/uaa-id-51

cURL

curl "https://api.[your-domain.com]/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/managers/uaa-id-51" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTUyIiwiZW1haWwiOiJlbWFpbC00NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MTM3MzY0fQ.ctQ8jlzGQsOIsAalV5FkxFD3MoEVw3phFgNXiR8VkTs" \
	-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: 4a657dee-8cd8-431d-9535-5f24daded04d
Content-Length: 1299
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "71953652-35fd-4235-b8c1-b49b795189ed",
    "url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed",
    "created_at": "2015-02-10T01:42:44Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-106",
    "billing_enabled": false,
    "quota_definition_guid": "0e356617-2a6e-4310-8ec9-a68769fcd75b",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/0e356617-2a6e-4310-8ec9-a68769fcd75b",
    "spaces_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/spaces",
    "domains_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/domains",
    "private_domains_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/private_domains",
    "users_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/users",
    "managers_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/managers",
    "billing_managers_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/billing_managers",
    "auditors_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/auditors",
    "app_events_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/app_events",
    "space_quota_definitions_url": "/v2/organizations/71953652-35fd-4235-b8c1-b49b795189ed/space_quota_definitions"
  }
}