​

Create group

POST
https://example.kaiten.ru/api/latest/company/groups

To use this route you need access to the Administrative section "Members" (members permission) in the current company. The tariff must include groups.

Headers
NameValue
Content-Typeapplication/json
Attributes
schema
NameTypeConstraintsDescription
name
required
string
minLength: 1
maxLength: 512

Group name

permissions
integer

Group permissions

add_to_cards_and_spaces_enabled
boolean

Should add cards and spaces

named_permissions

object

Schema

Company permissions granted to the group. Boolean values only. Named values override the corresponding bits in permissions; omitted names inherit the numeric mask or default to false. See the company permissions reference.

Responses

200
DescriptionResponse typeExample
SuccessObject
Open
Response Attributes
NameTypeDescription
name

string

Group name
permissions

integer

Group permissions
updated

string

Last update timestamp
created

string

Create date
id

integer

Group id
uid

string

Group uid
add_to_cards_and_spaces_enabled

boolean

Ability to add all users of the group to cards, placed in group spaces. Ability to filter logs by group in «Timesheets»
named_permissions

object

Schema
Company permission grants for this group. The map contains every permission name supported by the server; ungranted permissions are false. Includes named-only permissions that have no bit in the numeric permissions mask. See the company permissions reference linked above.
400
DescriptionResponse typeExample
Validation error. For named_permissions, message "Unknown or invalid named permission" means that the value is not an object of booleans; older server versions may also reject unknown names.Object
Open
Response Attributes
NameTypeDescription
message

string

Error message
401
DescriptionResponse typeExample
Invalid tokenString
Open
402
DescriptionResponse typeExample
Feature is not supported by tariffObject
Open
Response Attributes
NameTypeDescription
message

string

Error message
403
DescriptionResponse typeExample
ForbiddenResponse body does not exist
404
DescriptionResponse typeExample
Not foundResponse body does not exist
logo
Kaiten
If you have any questions or need help with integration feel free to write us at support@kaiten.ru
  1  curl --request POST \
  2       --url 'https://example.kaiten.ru/api/latest/company/groups' \
  3       --header 'Accept: application/json' \
  4       --header 'Content-Type: application/json'
  5      

Response

ClickTry It!to start a request and see the response here!