ArchiveFlow retires a published flow.
POST/api/v1/voice/flows/:id/archive
Removes flow from active use. DIDs using this flow should be updated to use a different flow.
Parameters
- id: Required, flow to archive
Prerequisites
- Flow must be in published status
Errors
- NOT_FOUND: Flow does not exist
- FAILED_PRECONDITION: Flow not published
- PERMISSION_DENIED: Caller lacks voice:flow:publish permission
Request
Responses
- 200
- default
A successful response.
An unexpected error response.