# Set KC state **PUT /v1/kcbot/state** Pauses or starts a KC. ### Parameters - kcId: ID of kc to be modified - state: Desired state for kc (START or PAUSE) - envs: If changing the state to START, list of environments to start the engagement on, defaults to [PRODUCTION] ## Servers - https://api.aptrinsic.com: https://api.aptrinsic.com () ## Parameters ### Body: application/json (object) KC State Change Request - **kcId** (string) ID of kc to modify - **state** (string) New state for given kc's - **envs** (array[string]) Collection of environments on which to change the state. Defaults to [PRODUCTION] ## Responses ### 200 Success #### Body: application/json (object) - **body** (object) - **statusCode** (string) - **statusCodeValue** (integer(int32)) ### 400 Bad request ### 401 Unauthorized or bad API Key ### 404 Account not found ### 429 Rate limit exceeded [Powered by Bump.sh](https://bump.sh)