Skip to content
Console
Menu

Generated Assets

Getting Started

Authentication

KV Store

Delete a revenue source

Deletes a revenue source and the facts it reported.

Deletes a revenue source and the facts it reported. The money source cannot be deleted; pause it instead.

  • Path DELETE https://api.sylphx.com/v1/orgs/acme/revenue_sources/revenue-source
  • Scope revenue:write
  • Effect destructive — a successful call removes data; the CLI asks before it runs.
  • Collection revenue_sources
  • Query etag, validate_only

#Request

FieldTypeWhat it is
namestringThe source to delete, with the facts it reported. The money source cannot be deleted (pause it instead). Required.
etagstringThe current etag; when set, the delete happens only if it matches.
validate_onlyboolValidate only; delete nothing.

#Response

The call answers with an empty object.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X DELETE "https://api.sylphx.com/v1/orgs/acme/revenue_sources/revenue-source" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"