Create Access Grant
better-auth.session_token<token>
Signed-in EnderDash browser session cookie.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
organizationId?string
Length
1 <= lengthorganizationSlug?string
Length
1 <= lengthmemberId*string
Format
uuidserverId?|null
reason?string
Length
length <= 1000draft*
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/createAccessGrant" \ -H "Content-Type: application/json" \ -d '{ "memberId": "92983ab9-49c8-444b-85ae-6e40402cf72e", "draft": { "effect": 0, "actions": [ 0 ], "scope": { "scopeKind": "any" } } }'null