groups

Create group

Any authenticated member creates a group in their own tenant. 400 invalid_group_type if type_id is set but doesn't name a type visible to the caller (global or their tenant's). 403 group_type_reserved if it names a RESERVED type — only the owning service creates those.

post/groups

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/groups
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Request body

descriptionstring
group_type_idstring

GroupTypeID classifies the group (optional). Must be a GLOBAL type or one from the caller's tenant.

is_publicboolean
namestring
slugstring

Response

Created

successboolean

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.