Skip to main content
PUT
/
owners
cURL
curl --request PUT \
  --url https://api.opal.dev/v1/owners \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "owners": [
    {
      "owner_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
      "name": "API Owner",
      "description": "This owner represents the API team owners.",
      "access_request_escalation_period": 120
    },
    {
      "owner_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "name": "Finance Owner",
      "description": "This owner represents the Finance team owners.",
      "access_request_escalation_period": 15
    }
  ]
}'
{
  "owners": [
    {
      "owner_id": "f454d283-ca87-4a8a-bdbb-df212eca5353",
      "name": "API Owner",
      "description": "This owner represents the API team owners.",
      "access_request_escalation_period": 120
    },
    {
      "owner_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "name": "Finance Owner",
      "description": "This owner represents the Finance team owners.",
      "access_request_escalation_period": 15
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Owners to be updated

owners
object[]
required

A list of owners with information to update.

Response

200 - application/json

The resulting updated owner infos.

owners
object[]
required

A list of owners with information to update.