Update a project
Updates a project’s name and settings.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Management.
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing
the word Basic followed by a space and a base64-encoded string of project_id:token.
The project ID will be used as the username and the API token as the password.
Example:
```
Authorization: Basic base64(project_id:token)
```
Path parameters
id
The unique identifier of the project or subproject.
Request
This endpoint expects an object.
name
The name of the project.
protect_recordings
When enabled, recordings created within the project require authentication to access.
protect_message_media
When enabled, message media created within the project requires authentication to access.
protect_fax_media
When enabled, fax media created within the project requires authentication to access.
force_https_requests
When enabled, requests made to the project's webhooks and callbacks must use HTTPS.
Response
The request has succeeded.
id
The unique identifier of the project.
name
The name of the project.
parent_project_id
The unique identifier of the root project. null when this project is itself a root project.
subproject
true when this project is a subproject.
region_preference
The effective region preference for the project. Returned in all responses; it is not currently settable through this API.
protect_recordings
When enabled, recordings created within the project require authentication to access.
protect_message_media
When enabled, message media created within the project requires authentication to access.
protect_fax_media
When enabled, fax media created within the project requires authentication to access.
force_https_requests
When enabled, requests made to the project's webhooks and callbacks must use HTTPS.
created_at
The date and time when the project was created.
updated_at
The date and time when the project was last updated.
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error