Skip to Content
Enderdash

Create Access Grant

POST
/organizations/createAccessGrant

Authorization

cookie__Secure-enderdash.session_token<token>

Signed-in Enderdash browser session cookie.

Request Body

application/json
  1. body
organizationId?string
Length1 <= length
organizationSlug?string
Length1 <= length
memberId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
serverId?|null
reason?string
Lengthlength <= 1000
draft*

Response Body

OK

Example Request
curl -X POST 'https://app.enderdash.com/api/http/organizations/createAccessGrant' \
  -H 'Content-Type: application/json' \
  -d '{
  "memberId": "92983ab9-49c8-444b-85ae-6e40402cf72e",
  "draft": {
    "effect": 0,
    "actions": [
      0
    ],
    "scope": {
      "scopeKind": "any"
    }
  }
}'
Example Response
Empty