Skip to main content
POST

Overview

Batch creation allows you to add multiple subjects to scopes in a single API call.
ID Format: All IDs use a namespaced UUIDv7 format: membership_{uuidv7}.

Request Body

Array of membership objects:
string
Optional client-provided ID. Useful for referencing in role assignments.
string
required
ID of the subject to add
string
required
ID of the scope to add the subject to

Response

Returns an array of created membership objects.