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
}
]
}Bulk updates a list of owners.
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
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Owners to be updated
A list of owners with information to update.
Show child attributes
The ID of the owner.
"f454d283-ca87-4a8a-bdbb-df212eca5353"
The name of the owner.
"API Owner"
A description of the owner.
"This owner represents the API team owners."
The amount of time (in minutes) before the next reviewer is notified. Use 0 to remove escalation policy.
120
The message channel id for the reviewer channel. Use "" to remove an existing message channel.
"37cb7e41-12ba-46da-92ff-030abe0450b1"
Sync this owner's user list with a source group. Use "" to remove an existing source group.
"1b978423-db0a-4037-a4cf-f79c60cb67b3"
The resulting updated owner infos.
A list of owners with information to update.
Show child attributes
The ID of the owner.
"f454d283-ca87-4a8a-bdbb-df212eca5353"
The name of the owner.
"API Owner"
A description of the owner.
"This owner represents the API team owners."
The amount of time (in minutes) before the next reviewer is notified. Use 0 to remove escalation policy.
120
The message channel id for the reviewer channel. Use "" to remove an existing message channel.
"37cb7e41-12ba-46da-92ff-030abe0450b1"
Sync this owner's user list with a source group. Use "" to remove an existing source group.
"1b978423-db0a-4037-a4cf-f79c60cb67b3"
Was this page helpful?