Complete a Campaign
POST/campaigns/:id/complete
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
caution
This endpoint will run successfully for any campaigns that are past due.
This endpoint will return a content error if the campaign is not past due.
Use this API to complete a certification campaign. This functionality is provided to admins so that they can complete a certification even if all items have not been completed. Though this Beta endpoint has been deprecated, you can find its V3 equivalent here.
A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 429
- 500
Accepted - Returned if the request was successfully accepted into the system.
Client Error - Returned if the request body is invalid.
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
Not Found - returned if the request URL refers to a resource or object that does not exist
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
Internal Server Error - Returned if there is an unexpected error.