POST /access_group/create

Creates a new access_group

// POST
https://api.suitsbooks.nl/access_group/create

// BODY
{
    "organization_id": "c08ab6a0-1ba2-4541-9739-96c6369c58f1",
    "user_id": "a29faa58-3d54-412e-b071-679912d9ac35",
    "role": "billing_admin",
    "auth_index": 2,
    "pending": false,
    "invite_code": "123",
    "invited_by_user_id": "fab9b58e-8592-4f0e-b4a3-a2efe6e77503",
    "time": 1739700261,
    "frozen": false,
    "flagged": false,
    "status": "active",
    "company_id": "14845f49-01fd-4382-a15a-b3a671cc9a45",
    "exp_date": 1771232661,
    "scopes": ["access_group_create"]
}

Response object

{
    "message": "Access group created successfully",
    "success": true
}
Updated on