List teams

GET
/v1/{namespace}/teams

Authorization

headerAuthorizationBearer <token>

A personal or service access token, sent as Authorization: Bearer <token>. See access tokens.

Path Parameters

namespace*string

The namespace id.

Response Body

The namespace's teams.

application/json
  1. response
[index: integer]?

A group of users that holds permissions in the namespace.

curl -X GET 'https://eu-sov-1.bytesafecloud.eu/v1/my-namespace-id/teams'
[  {    "id": "everybody",    "name": "Everybody",    "description": "Every user in the namespace.",    "permissions": [      "team:read"    ],    "protected": true  },  {    "id": "3b6f1e2a-9c4d-4e7f-a815-6d2c0b9e7f41",    "name": "Platform",    "description": "Owns the build infrastructure.",    "permissions": [      "team:read",      "ns:create:pat"    ],    "protected": false  }]