Management

Requests to this endpoint are free and do not consume any API units.

At least one of access or folder must be set.

patch/management/update-project

Request

  • Base URL
    https://api.ahrefs.com/v3
  • URL
    https://api.ahrefs.com/v3/management/update-project
  • Auth
    HTTP bearer

Query parameters

output'json' | 'php'

The output format.

Request body

project_idinteger required

The ID of the project whose access setting you want to update. You can find it in the URL of your Rank Tracker project in Ahrefs: https://app.ahrefs.com/rank-tracker/overview/#project_id#

access'private' | 'shared'

The new access setting for the project.

Response

OK

Changes

    • breaking

      removed the enum value csv from the query request parameter output

    • breaking

      removed the enum value xml from the query request parameter output

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      added the optional property / to the response with the status (media type: application/json)

    • info

      added the optional property / to the response with the status (media type: application/xml)