Update project site URL
PATCH/api/v1/projects/:slug/site-url/
Update the project's primary site URL. Feedback submissions are validated against this URL's hostname, so keep it in sync when your site changes domain.
Requires an API key with the project:manage scope in the
Authorization header. The key must cover the project in the URL; a
key for another team's project, or one outside the key's project
restriction, returns 404 Not Found. A key without the
project:manage scope returns 403 Forbidden.
The URL is normalized before saving: a trailing slash is stripped. The response contains the normalized URL.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
The site URL was updated.
The URL is missing or not an absolute http(s) URL.
Missing or invalid API key.
The API key covers this project but lacks the project:manage scope.
The API key does not cover this project, or the project does not exist.
Rate limit exceeded.