diff --git a/api-reference/openapi/releases.json b/api-reference/openapi/releases.json index 42867501..4f739c5b 100644 --- a/api-reference/openapi/releases.json +++ b/api-reference/openapi/releases.json @@ -818,6 +818,24 @@ } } ], + "requestBody": { + "description": "Optional account context override.", + "required": false, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "account_id": { + "type": "string", + "format": "uuid", + "description": "UUID of the account whose artist should be deleted. Only applicable when the authenticated account has access to multiple accounts via organization membership or Recoup admin access. If not provided, the deletion runs in the API key's own account context." + } + } + } + } + } + }, "responses": { "200": { "description": "Artist deleted successfully", @@ -829,6 +847,16 @@ } } }, + "400": { + "description": "Bad request - account_id is not a valid UUID", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteArtistErrorResponse" + } + } + } + }, "401": { "description": "Unauthorized - missing or invalid authentication" },