Access
Preview

Who has access at a place

The people, groups and teams that hold a role at a place, including what reaches it from

GET
/access
cookiebetter-auth.session_token<token>

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

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

The place's id. Absent for the organization.

limit?integer

Page size. Defaults to 50, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from a previous page's nextCursor.

Response Body

A page of access.

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://wardn.example.com/api/v1/access?kind=org'
Example Response
{  "items": [    {      "subject": {        "kind": "team",        "id": "string",        "label": "string"      },      "entry": {        "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391",        "roleName": "string",        "place": {          "kind": "org",          "id": "string",          "label": "string"        },        "source": {          "kind": "membership",          "id": "string",          "label": "string"        },        "designatedBy": "string",        "expiresAt": "2019-08-24T14:15:22Z",        "paused": true,        "duty": true      }    }  ],  "nextCursor": "string"}