DELETE Project - TextKing/textking-api GitHub Wiki
Request: DELETE /project/{projectId}
Deletes an existing project with the given ID. Only projects in the state prepared
can be deleted.
Header | Description |
---|---|
Authorization | oAuth 2 authentication header |
HTTP status | Description |
---|---|
204 Not Content | The project was successfully deleted. The response does not contain a body. |
400 Bad Request | The project ID is not a valid UUID. |
403 Forbidden | You are not allowed to delete the project, e.g. when the project’s state is not prepared . |
404 Not Found | The project with the given ID does not exist. |
Delete the project with the ID 29163f4f-7c8f-4baf-adf3-753c1df429c2
:
DELETE /v1/project/29163f4f-7c8f-4baf-adf3-753c1df429c2 HTTP/1.1 Host: api.textking.com Authorization: Bearer youraccesstoken
Response:
HTTP/1.1 204 No Content