Praecise Cloud/ Reference/ Projects
Set or clear environment values
post/api/projects/{name}/env
Set or clear environment values. Values are never read back, only key names. The service restarts.
Before you call
- Credential
Authorization: Bearer $KEYwithenv- Scope
env- Role
owner
Parameters
- namestringrequiredIn the path. The project's name.
Request bodyapplication/json, required
- setobjectKeys to set, with their values.
- clearlist of stringKeys to remove.
Responses
- 200application/jsonThe environment was changed.
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