Skip to content

Delete a plan no organization has

POST
/api/platform/plans/{id}/delete
curl --request POST \
--url https://forge.example.com/api/platform/plans/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "reason": "example" }'

409 for a plan an organization has: switch it off instead, and it is no longer offered or given.

id
required
string format: uuid
Media typeapplication/json
object
reason
required
string

Example generated

{
"reason": "example"
}

Done. The answer has no body.

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}