app.didpic.admin.grantRole
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Grant a role.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"role": {
"enum": [
"moderator",
"administrator"
],
"type": "string"
}
},
"required": [
"did",
"role"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.admin.grantRole",
"lexicon": 1
}
Metadata
- DID
-
did:plc:an2jtp4jgkkbtmwfzhpbxawd - CID
-
bafyreiaqjs7uc666t5p44om53a55nh3z4ibjun4wiegx6jcq2tp5jehvvy - Indexed At
- 2026-06-06 04:10 UTC
- AT-URI
-
at://did:plc:an2jtp4jgkkbtmwfzhpbxawd/com.atproto.lexicon.schema/app.didpic.admin.grantRole
Version History (2 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.didpic.admin.revokeRole procedure
Revoke a role.
-
pub.chive.admin.assignRole procedure
Assign a role to a user
-
zone.stratos.admin.addAdmin procedure
Grant admin access to a DID. Requires admin authorization.
-
app.tempomusic.staff.grantStaffRole procedure
Add a DID to the moderators allowlist with the given role. Requires the caller to have the `superAdmin` role. Writes a `moderatorGranted` audit row only when a new row is inserted or a revoked row is reactivated. Idempo…
-
app.userinput.member record
Grants a DID a role on a space. Only honored when authored by the space owner. Lives in the owner's repo.