Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
User, group, or both to identify. Records are created for users or groups with appropriate metadata, or metadata is updated for existing users or groups. When a user is provided alongside a group, a link between the user and group is created.
Example:
"my-user-id"
Example:
{
"id": "my-group-id",
"metadata": { "plan": "pro" }
}