Home
Version 3
Organizations API

Organizations API

Associate Manager with the Organization

PUT /v2/organizations/:guid/managers/:manager_guid

Request

Route

PUT /v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/managers/uaa-id-36

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU2fQ.7KdzPYo6H7-wdxo9TzTrigAHkPASVYhCyhVUeV0y9PU
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/managers/uaa-id-36" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU2fQ.7KdzPYo6H7-wdxo9TzTrigAHkPASVYhCyhVUeV0y9PU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "07fcb60b-0d82-4dd3-8219-988d5fdccde2",
    "url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2",
    "created_at": "2015-03-18T22:52:36Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-78",
    "billing_enabled": false,
    "quota_definition_guid": "6af9da9a-bec7-46d0-882d-8073c47ca465",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/6af9da9a-bec7-46d0-882d-8073c47ca465",
    "spaces_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/spaces",
    "domains_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/domains",
    "private_domains_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/private_domains",
    "users_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/users",
    "managers_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/managers",
    "billing_managers_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/billing_managers",
    "auditors_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/auditors",
    "app_events_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/app_events",
    "space_quota_definitions_url": "/v2/organizations/07fcb60b-0d82-4dd3-8219-988d5fdccde2/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b611df94-db64-4120-aaad-94cfceb6c540
Content-Length: 1298
X-Content-Type-Options: nosniff