v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Team Member Fees

Apply a member fee to one or more team members.

Required scope: team-members:write </br>Organization authorization: supported

post/api/v1/teams/{teamId}/member-fees/{id}/apply

Path parameters

teamIdinteger required
idinteger required

Request body

team_member_idsinteger[] required

Ids of the team members the fee should be applied to.

Example request

{
  "team_member_ids": [
    101,
    102
  ]
}

Response

The member fee with the updated member count.

idinteger

Unique identifier of the member fee.

teamIdinteger

Identifier of the team this fee belongs to.

namestring required

Name of the member fee.

monthlyPricenumber required

Monthly price charged per member, in the team's currency.

memberCountinteger

Number of team members currently assigned to this fee.

createdAtstring nullable

Creation timestamp (ISO 8601).

updatedAtstring nullable

Last update timestamp (ISO 8601).

Example response

{
  "id": 1,
  "teamId": 42,
  "name": "Standard monthly fee",
  "monthlyPrice": 5.67,
  "memberCount": 12,
  "createdAt": "2024-01-01T12:00:00Z",
  "updatedAt": "2024-01-01T12:00:00Z"
}