Groups
Create group
Changed onCreates a new group of users in an enterprise. Only users with admin permissions can create new groups.
post/groups
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/groups
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Query parameters
fieldsstring[]
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Request body
Example request
{
"name": "Customer Support",
"provenance": "Active Directory",
"external_sync_identifier": "AD:123456",
"description": "\"Customer Support Group - as imported from Active Directory\"",
"invitability_level": "admins_only",
"member_viewability_level": "admins_only"
}Response
Returns the new group object.
Example response
{
"id": "11446498",
"type": "group",
"name": "Support",
"group_type": "managed_group",
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00",
"provenance": "Active Directory",
"external_sync_identifier": "AD:123456",
"description": "Support Group - as imported from Active Directory",
"invitability_level": "admins_only",
"member_viewability_level": "admins_only",
"permissions": {
"can_invite_as_collaborator": true
}
}Changes
- warning
added the new
unprocessable_entityenum value to theresponse property for the response status - warning
added the new
unprocessable_entityenum value to theresponse property for the response status
- warning