Activate a config version
Points the environment's active configuration at the given version. A newly-connected channel picks up the active config on its next load; channels already connected keep their previously-loaded config until they reconnect. Activating an older version is a rollback.
Path Parameters
- Type: stringversion
Id requiredA content-addressed config version id (
cfg_...).
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/deploys/{versionId}/activate
curl https://api.useportal.co/v1/deploys/cfg_3f1a9b2c8d4e6f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a/activate \
--request POST \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{}