Skip to content

Slack: Usergroups schemas

1 Slack schema with complete fields and constraints.

← Usergroups operations · All schemas

Create a User Group — response body — usergroup

FieldTypePresenceDescription and constraints
$objectRoot
auto_provisionbooleanOptional
auto_typeJSONOptional
auto_type (anyOf 1)nullAlternative
auto_type (anyOf 2)stringAlternativeKnown values: owner, admin
channel_countJSONOptional
channel_count (anyOf 1)integerAlternative
channel_count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
created_bystringOptional
date_createJSONOptional
date_create (anyOf 1)integerAlternative
date_create (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
date_deleteJSONOptional
date_delete (anyOf 1)integerAlternative
date_delete (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
date_updateJSONOptional
date_update (anyOf 1)integerAlternative
date_update (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
deleted_byJSONOptional
deleted_by (anyOf 1)nullAlternative
deleted_by (anyOf 2)stringAlternative
descriptionstringOptional
enterprise_subteam_idstringOptional
handlestringOptional
idstringOptional
is_externalbooleanOptional
is_subteambooleanOptional
is_usergroupbooleanOptional
namestringOptional
prefsobjectOptional
prefs.channelsarrayOptional
prefs.channels[]stringEach item
prefs.groupsarrayOptional
prefs.groups[]stringEach item
team_idstringOptional
updated_bystringOptional
user_countJSONOptional
user_count (anyOf 1)integerAlternative
user_count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
usersarrayOptional
users[]stringEach item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.