Delete a period
Deletes a period in your company.
DELETE periods/:id
Response
Upon successful delete of a period in the Basecone system, a 204 http status code will be returned. If something goes wrong, an error message with failure details will be given together with a suitable http error status code.
Possible error responses
Status code | Error code | Details |
---|---|---|
400 | invalid_request_payload | Period id cannot be empty. |
403 | unauthorized | Not allowed to Company. |
404 | notfound | Period not found. |
400 | user_credentials_invalid | Invalid credentials. |
400 | validation_error | One or more validation errors occurred. |