Overview
DELETE/access/personas/{id}/may-act/{kind}registry

Revoke a may_act subject kind (user/team/org) from a persona; 'self' → 400

Delete a record from may-act by id, kind.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • idpathstring
  • kindpathstring
Responses
204

revoked (idempotent)

No response body.

400

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
403

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
404

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X DELETE "https://api.agenticdeveloperhub.com/access/personas/{id}/may-act/{kind}" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/access/personas/{id}/may-act/{kind}", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();