Teams

Creates a new team.

post/api/teams/workspace/{workspace_id}/

Request

  • Base URL
    https://api.baserow.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.baserow.io/api/teams/workspace/{workspace_id}/
  • Auth
    HTTP bearer

Path parameters

workspace_idstring required

Headers

ClientSessionIdstring uuid

An optional header that marks the action performed by this request as having occurred in a particular client session. Then using the undo/redo endpoints with the same ClientSessionId header this action can be undone/redone.

Request body

namestring required

A human friendly name for this team.

default_rolestring nullable

The uid of the role you want to assign to the team in the given workspace. You can omit this property if you want to remove the role.

Response

idinteger required
namestring required

A human friendly name for this team.

workspaceinteger required

The workspace that this team belongs to.

created_onstring date-time required
updated_onstring date-time required
default_rolestring

The uid of the role this team has in its workspace.

subject_countinteger required

The amount of subjects (e.g. users) that are currently assigned to this team.

Changes

    • breaking

      added to the // request property allOf list (media type: application/json)

    • breaking

      added to the // request property allOf list (media type: application/x-www-form-urlencoded)

    • breaking

      added to the // request property allOf list (media type: multipart/form-data)

    • warning

      removed from the // request property allOf list (media type: application/json)

    • warning

      removed from the // request property allOf list (media type: application/x-www-form-urlencoded)

    • warning

      removed from the // request property allOf list (media type: multipart/form-data)

    • info

      the endpoint scheme security UserSource JWT was removed from the API

    • info

      added to the // response property allOf list for the response status

    • info

      removed from the // response property allOf list for the response status