PUT
/
v2
/
teams
/
{team_nanoid}
Update team by nanoid
curl --request PUT \
  --url https://b2b-api.dev-riseworks.io/v2/teams/{team_nanoid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "success": true,
  "data": {
    "name": "<string>",
    "nanoid": "<string>",
    "avatar": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_nanoid
string
required

TeamNanoid

Required string length: 15

Body

application/json

Response

200
application/json

Default Response

The response is of type object.