Teams

Creates a new team subject.

post/api/teams/{team_id}/subjects/

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/{team_id}/subjects/
  • Auth
    HTTP bearer

Path parameters

team_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

idinteger required
subject_idinteger

The subject's unique identifier.

subject_user_emailstring email

The user subject's email address.

subject_type'auth.User' | 'core.Agent' required
  • auth.User - auth.User
  • core.Agent - core.Agent

Response

idinteger required
subject_idinteger required

The unique subject ID.

subject_typestring required

Returns the TeamSubject's subject_type natural key.

:param obj: The TeamSubject record. :return: The subject's content type natural key.

teaminteger required

The team this subject belongs to.

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