Create a company group

Creates a company group. The group starts with the companies and users you pass, or empty lists when you leave them out.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates a company group. label is required. companies and users are optional and default to empty lists; you can fill them in later with Update a company group.

Every ID must belong to your organization, and each user must be one that List users returns. An ID that does not match fails with a validation_error naming the field. Send an X-Idempotency-Key header to make retries safe: reusing the key returns the group created by the first request instead of creating another.

Body Params
string
required
length ≤ 255

Display name of the company group.

companies
array of strings
length ≤ 5000

IDs of the companies in the group. Defaults to none.

companies
users
array of strings
length ≤ 500

IDs of the Console users in the group. Each value must be a usr_ ID of a user returned by /users. Defaults to none.

users
Headers
string

Optional idempotency key. Reusing the same key replays the first response instead of applying the write again.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json