Create a group
Create a new group for a given organization. The group may optionally be created with group members.
Authorization
OAuth token returned by Identity Broker.
One of the following OAuth scopes is required:
identity:people_rw
The following administrators can use this API:
id_full_admin
id_group_admin
Usage:
The input JSON must conform to one of the following schemas:
urn:ietf:params:scim:schemas:core:2.0:Group
urn:scim:schemas:extension:cisco:webexidentity:2.0:Group
Unrecognized schemas (ID/section) are ignored.
Read-only attributes provided as input values are ignored.
URI Parameters
The ID of the organization to which this group belongs. If not specified, the organization ID from the OAuth token is used.
Body Parameters
Input JSON schemas.
A human-readable name for the Group.
An identifier for the resource as defined by the provisioning client.
A list of members of this group.
The identifier of the member of this Group.
A label indicating the type of resource, for example user, machine, or group.
The Cisco extension of SCIM 2.
The identifier of this Group.
The owners of this group.
The identifier of the owner of this group.
A list of delegates of this group.
The Organization identifier of the resource.
The resource type.
The identifier of the resource.
The delegated role.
Response Properties
Input JSON schemas.
A human-readable name for the group.
A unique identifier for the group.
An identifier for the resource as defined by the provisioning client.
A list of members of this group.
A label indicating the type of resource, for example user, machine, or group.
The identifier of the member of this Group.
A human-readable name for the group member.
The URI corresponding to a SCIM resource that is a member of this Group.
Response metadata.
The date and time the group was created.
The date and time the group was last changed.
The version of the group.
The resource itself.
The Cisco extention of SCIM 2
The identifier of this group.
The owners of this group.
The identifier of the owner of this Group.
A list of delegates of this group.
The Organization identifier of the resource.
The resource type.
The identifier of the resource.
The delegated role.
The identifier of the source.
Response metadata.
The ID of the organization to which this group belongs.
Response Codes
The list below describes the common success and error responses you should expect from the API.
Code | Status | Description |
---|---|---|
200 | OK | Successful request with body content. |
201 | Created | The request has succeeded and has led to the creation of a resource. |
202 | Accepted | The request has been accepted for processing. |
204 | No Content | Successful request without body content. |
400 | Bad Request | The request was invalid or cannot be otherwise served. An accompanying error message will explain further. |
401 | Unauthorized | Authentication credentials were missing or incorrect. |
403 | Forbidden | The request is understood, but it has been refused or access is not allowed. |
404 | Not Found | The URI requested is invalid or the resource requested, such as a user, does not exist. Also returned when the requested format is not supported by the requested method. |
405 | Method Not Allowed | The request was made to a resource using an HTTP request method that is not supported. |
409 | Conflict | The request could not be processed because it conflicts with some established rule of the system. For example, a person may not be added to a room more than once. |
410 | Gone | The requested resource is no longer available. |
415 | Unsupported Media Type | The request was made to a resource without specifying a media type or used a media type that is not supported. |
423 | Locked | The requested resource is temporarily unavailable. A Retry-After header may be present that specifies how many seconds you need to wait before attempting the request again. |
428 | Precondition Required | File(s) cannot be scanned for malware and need to be force downloaded. |
429 | Too Many Requests | Too many requests have been sent in a given amount of time and the request has been rate limited. A Retry-After header should be present that specifies how many seconds you need to wait before a successful request can be made. |
500 | Internal Server Error | Something went wrong on the server. If the issue persists, feel free to contact the Webex Developer Support team. |
502 | Bad Gateway | The server received an invalid response from an upstream server while processing the request. Try again later. |
503 | Service Unavailable | Server is overloaded with requests. Try again later. |
504 | Gateway Timeout | An upstream server failed to respond on time. If your query uses max parameter, please try to reduce it. |
Header
Body
- schemasarrayRequiredInput JSON schemas.
- displayNamestringRequiredA human-readable name for the Group.
- externalIdstringAn identifier for the resource as defined by the provisioning client.
- membersarrayA list of members of this group.
- urn:scim:schemas:extension:cisco:webexidentity:2.0:GroupobjectThe Cisco extension of SCIM 2.
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:scim:schemas:extension:cisco:webexidentity:2.0:Group" ], "displayName": "group1@example.com", "externalId": "test", "members": [ { "value": "c5349664-9f3d-410b-8bd3-6c31f181f13d", "type": "user" } ], "urn:scim:schemas:extension:cisco:webexidentity:2.0:Group": { "usage": "policy", "owners": [ { "value": "c5349664-9f3d-410b-8bd3-6c31f181f13d" } ], "managedBy": [ { "orgId": "d1349664-9f3d-410b-8bd3-6c31f181f14e", "type": "user", "id": "c5349664-9f3d-410b-8bd3-6c31f181f13d", "role": "location_full_admin" } ] } }
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:scim:schemas:extension:cisco:webexidentity:2.0:Group" ], "id": "cb8f48e4-5db2-496b-b43d-83d8d5a2a4b3", "displayName": "wade_test_ccbeca2c-5f25-4c3a-b03c-e3bbc5368405@webex.identity.com", "externalId": "test", "members": [ { "value": "c5349664-9f3d-410b-8bd3-6c31f181f13d", "type": "user", "$ref": "https://example.com/v2/Users/c5349664-9f3d-410b-8bd3-6c31f181f13d", "display": "A user" }, { "value": "ffd2164c-b938-46dd-8b2f-def6c33b45d0", "type": "group", "$ref": "https://example.com/v2/Groups/ffd2164c-b938-46dd-8b2f-def6c33b45d0", "display": "A nested group" } ], "meta": { "resourceType": "group", "created": "2011-08-01T21:32:44.882Z", "lastModified": "2011-08-01T21:32:44.882Z", "version": "W\/\"e180ee84f0671b1\"", "location": "https://example.com/v2/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a" }, "urn:scim:schemas:extension:cisco:webexidentity:2.0:Group": { "usage": "location", "owners": [ { "value": "bb9e77e5-91c3-4006-87c7-c18d885174c7" }, { "value": "93e10e81-f836-434c-8e4c-8f496aeef8d5" } ], "managedBy": [ { "orgId": "e82f0522-09b1-49fb-9fff-735fee313456", "type": "user", "id": "0f0c3024-73dc-4e1f-b4b0-f47e67c0399c", "role": "location_full_admin" }, { "orgId": "cd828192-269c-4bc7-943b-273555227961", "type": "machine", "id": "4ecec95a-0493-4df0-bd1c-c97712561077", "role": "id_user_admin" } ], "provisionSource": "AD", "meta": { "organizationID": "e9f9ab27-0459-4cd0-bd72-089bde5a7da6" } } }