permission

Update saved permission

Changed on

Change the action or resource of a saved permission. Fails with a conflict when the project already has a saved permission with the same action and resource.

patch/api/permission/saved/{id}

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/permission/saved/{id}
  • Auth
    none required

Path parameters

idstring required

Request body

actionstring nullable
resourcestring nullable

Response

Success

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed from the response body anyOf list for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added