Transfer a group
POST
/api/v4/groups/{id}/transfer
Transfers a group to another parent group or transforms a subgroup into a top-level group. You must be an administrator or have the Owner role for the group.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
string
The ID of a group
Request Body
Section titled “ Request Body ” Media type application/json
object
group_id
The ID of the target group to which the group needs to be transferred to.If not provided, the source group will be promoted to a top-level group.
integer
Example generated
{ "group_id": 1}Responses
Section titled “ Responses ”Created
Bad Request
Not Found