Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description 

Add a user to a Group

Parameters

group_id
user_id

Request

curl -X POST \
-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{"group_id":"5", "user_id":"22"}' \
-k https://your.domain.com/api/users/add_user_to_group

Response

{"status": "success"}



  • No labels