Skip to main content
PUT
/
teams
/
members
/
{id}
/
groups
Assign groups to a member
curl --request PUT \
  --url https://app.autoposting.ai/api-proxy/teams/members/{id}/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "groupIds": [
    "group_editor"
  ]
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

id
string
required

Body

application/json
groupIds
string[]
required
Example:
["group_editor"]

Response

Success

success
boolean
required
Example:

true