Name who answers for a project.
PUT
/api/v1/projects/{project}/owner
const url = 'https://example.com/api/v1/projects/example/owner';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"owner":"payments-team","contact":"example","runbookUrl":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/projects/example/owner \ --header 'Content-Type: application/json' \ --data '{ "owner": "payments-team", "contact": "example", "runbookUrl": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”project
required
string
Project name
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
owner
required
A team or a person.
string
Example
payments-teamcontact
How to reach them: an email, a chat channel, an on-call rotation.
string | null
runbookUrl
string | null
Responses
Section titled “Responses”Media typeapplication/json
object
owner
required
A team or a person.
string
contact
How to reach them: an email, a chat channel, an on-call rotation.
string | null
runbookUrl
string | null
Example
{ "owner": "payments-team"}Media typeapplication/json
Problem Details body.
object
code
required
Stable machine-readable code, e.g. forbidden.
string
title
required
Short human readable title.
string
status
required
HTTP status.
integer format: int32
detail
Details, if safe to expose.
string | null
Example
{ "code": "forbidden"}Media typeapplication/json
Problem Details body.
object
code
required
Stable machine-readable code, e.g. forbidden.
string
title
required
Short human readable title.
string
status
required
HTTP status.
integer format: int32
detail
Details, if safe to expose.
string | null
Example
{ "code": "forbidden"}