Create a team
POST
header
AuthorizationBearer <token>A personal or service access token, sent as Authorization: Bearer <token>. See access tokens.
namespace*stringThe namespace id.
application/json- body
A team to create or update.
name*stringA display name.
description*stringA free-form description.
permissions*array<>The namespace permissions the team's members hold. Omit it on update to keep the current permissions.
The new team.
application/json- response
A group of users that holds permissions in the namespace.
id*stringThe team id.
name*stringA display name.
description*stringA free-form description.
permissions*array<>The namespace permissions every member of the team holds.
protected*booleanWhether the team is one of the built-in teams, everybody and admin, which cannot be changed or deleted.
curl -X POST 'https://eu-sov-1.bytesafecloud.eu/v1/my-namespace-id/teams' \ -H 'Content-Type: application/json' \ -d '{ "description": "Owns the build infrastructure.", "name": "Platform", "permissions": [ "fw:read" ]}'{ "id": "3b6f1e2a-9c4d-4e7f-a815-6d2c0b9e7f41", "name": "Platform", "description": "Owns the build infrastructure.", "permissions": [ "team:read", "ns:create:pat" ], "protected": false}