app.didpic.admin.grantRole

lexicons.didpic.app

Documentation

Grant a role.

main procedure

Grant a role.

Input

Encodingapplication/json
did stringdid Required

A decentralized identifier (DID).

role string Required

No description available.

Output

Encodingapplication/json
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "did",
        "role"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "role": {
          "enum": [
            "moderator",
            "administrator"
          ],
          "type": "string"
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "properties": {}
    },
    "encoding": "application/json"
  },
  "description": "Grant a role."
}

Lexicon Garden

@