PUT /api/:space/competitions/:id/manage/Finish
Description:
Update Competitions status to Finish in the CompetitionLabs database for a given Competition identifier.
Resource URL:
https://<apphost>.competitionlabs.com/api/<your-space-name>/competitions/<competitionId>/manage/Finish
Request header
Key | Value | Required |
---|---|---|
X-API-KEY | Yes | |
Content-Type | application/json | Yes |
Request URL parameter
Parameter | Type | Required | Description |
---|---|---|---|
space | String | Yes | This is the space name which is linked to the account |
id | String | Yes | Competition identifier retrieved from GET Competitions resource. |
Code | HTTP Status | Description | Example |
---|---|---|---|
404 | |||
3007 | 412 | Invalid operation request. |