AI
Agent access

Close a request (owners, admins and the file's keeper)

patch/agents/access/requests/{request_id}

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/agents/access/requests/{request_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

request_idinteger required

Request body

status'done' | 'declined' | 'dismissed' required

Response

Request fulfilled, document follows

idinteger required
kind'access' | 'change' | 'feedback' required
project_idinteger nullable
project_namestring nullable
file_idinteger nullable
file_namestring nullable
askedstring nullable
textstring required
session_idstring nullable
turn_idstring nullable
statusstring required
created_atstring date-time required
resolved_atstring date-time nullable

Changes

No recorded changes to this operation across all 3 revisions of this API.