Management

Accept a project plugin's current permissions

Changed on

Core grants the installation the plugin's permissions as the user was shown them, and leaves the repository selection as it is. Requires project manage or GitHub org owner on the installation's project.

put/api/v1/plugins/{plugin}/installations/{installationId}/accepted-permissions

Request

  • Base URL
    https://entire.io (the document declares no server; this is the origin it was published from)
  • URL
    https://entire.io/api/v1/plugins/{plugin}/installations/{installationId}/accepted-permissions
  • Auth
    none declared

Path parameters

installationIdstring required
pluginstring required

Request body

accepted_permissionsstring[] required

The plugin's permissions as resource:access, exactly as the user was shown them. A list that no longer matches the plugin answers 409 with reason permissions_changed.

Response

Accepted

installation_idstring required
permissionsstring[] required

The permissions the installation holds, as resource:access.

pending_permissionsstring[] required

The plugin's permissions that wait for a project manager to accept them.

Changes