Organizations

Update Access Policy

Updates an access policy settings.

put/setup/access/policy/{policyId}

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/setup/access/policy/{policyId}
  • Auth
    HTTP bearer

Path parameters

policyIdstring required

The access policy ID to operate on

Request body

Example request

{
  "policy": {
    "name": "A wonderful policy"
  }
}

Response

Update Access Policy Response

Example response

{
  "request": {
    "id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
    "url": "/setup/access/policy/pol-2344nn?accountId=act-4fbdvfc6",
    "method": "PUT",
    "timestamp": "2018-11-19T13:49:11.911Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    }
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.