Praecise Cloud/ Reference/ Projects
Restart the project's service on its live release
post/api/projects/{name}/restart
Before you call
- Credential
Authorization: Bearer $KEYwithdeploy- Scope
deploy- Role
member
Parameters
- namestringrequiredIn the path. The project's name.
Responses
- 200application/jsonThe service was restarted.
object - 400application/jsonThe request is not valid: a bad parameter, or a release that is not kept. Code bad_request or bad_release.
- errorstringrequired
- codestringrequired
- 401application/jsonNo token, or the token is unknown, revoked or expired. Code unauthenticated, token_revoked or token_expired.
- errorstringrequired
- codestringrequired
- 403application/jsonThe token lacks the scope, the call is not open to tokens, or the caller is not an owner. Code scope_missing, session_required or owner_required.
- errorstringrequired
- codestringrequired
- 404application/jsonNo such project, or one the caller cannot see. The two are not told apart. Code not_found.
- errorstringrequired
- codestringrequired
- 429application/jsonToo many requests for this token. Retry-After says how many seconds to wait. Code rate_limited.
- errorstringrequired
- codestringrequired