Archive saved services
DELETE
/api/v1/workspaces/{workspaceId}/services/{serviceId}Operation ID: services.archive · Access: PAT with write scope and authorized workspace where applicable · Effect: write.
Read the saved services workflow before this operation.
Parameters
Section titled “Parameters”| Name | In | Required | Type / allowed values |
|---|---|---|---|
workspaceId |
path | Yes | string |
serviceId |
path | Yes | string |
idempotency-key |
header | No | string |
Responses
Section titled “Responses”| HTTP | Content | Schema |
|---|---|---|
| 200 | application/json |
Service |
| 400 | application/json |
ApiError |
| 401 | application/json |
ApiError |
| 403 | application/json |
ApiError |
| 404 | application/json |
ApiError |
| 409 | application/json |
ApiError |
| 428 | application/json |
ApiError |
| 500 | application/json |
ApiError |
Use error.code, error.issues, and requestId for JSON errors. Error and recovery guide.
Set the connection variables from the quickstart. Set each path variable to an authorized identifier or an allowed parameter value from the table above.
curl --fail-with-body --request DELETE \ "$RIPSCLOUD_BASE_URL/api/v1/workspaces/$WORKSPACE_ID/services/$SERVICE_ID" \ --header "Authorization: Bearer $RIPSCLOUD_TOKEN" \ --header 'Accept: application/json'