Delete an app password
Deletes the app password.
Deletes the app password.
- Path
DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password - Scope
notify:write - Effect
destructive— a successful call removes data; the CLI asks before it runs. - Collection app_passwords
- Query
etag,validate_only
Request
| Field | Type | What it is |
|---|---|---|
name | string | The name resource name. Required. |
etag | string | The resource etag. |
validate_only | bool | Validate without deleting. |
Response
The call answers with an empty object.
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.INVALID_FIELD— A field failed validation.ETAG_MISMATCH— The etag sent does not match the Resource's current etag.
Every error arrives in the body Errors describes.
Examples
curl -X DELETE "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password" \
-H "Authorization: Bearer $SYLPHX_API_KEY"