Query parameters

  • id integer(int64) Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data array[object]
      Hide data attributes Show data attributes object
PATCH /admin/permission/cancel
curl \
 --request PATCH 'https://sandbox.serchservice.com/api/v1/admin/permission/cancel?id=42' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY"
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": [
    {
      "label": "string",
      "createdAt": "2025-05-04T09:42:00Z",
      "requests": [
        {
          "id": 42,
          "message": "string",
          "label": "string",
          "account": {
            "name": "string",
            "role": "string",
            "account": "string"
          },
          "expiration": "string",
          "reason": "string",
          "status": "PENDING",
          "scope": "USER",
          "permission": "WRITE",
          "details": {
            "admin": "string",
            "name": "string",
            "granted": "string",
            "updated_by": "string",
            "updated_by_name": "string"
          }
        }
      ]
    }
  ]
}