Access
Preview

The owners of a team, cluster, environment, pipeline or app

Whoever creates a thing owns it, and the organization Owner owns everything. A thing can have

GET
/owners/{kind}/{id}
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

kind*string
Value in"team""cluster""environment""pipeline""app""deployment"
id*string

Response Body

The owners.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/owners/team/string'
Example Response
{  "items": [    {      "userId": "string",      "name": "string",      "since": "2019-08-24T14:15:22Z"    }  ]}