curl --request PATCH \
--url https://api.tusky.io/v2/environments/{environmentId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"publisherIds": [
{}
]
}
'curl --request PATCH \
--url https://api.tusky.io/v2/environments/{environmentId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"publisherIds": [
{}
]
}
'[] to revert to the account default publisher.curl -X PATCH https://api.tusky.io/v2/environments/env_abc123 \
-H "Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"publisherIds": ["pub_primary", "pub_secondary", "pub_tertiary"]}'
{
"id": "env_abc123",
"name": "Production Assets",
"encrypted": false,
"publisherIds": ["pub_primary", "pub_secondary", "pub_tertiary"],
"updatedAt": "2026-03-07T15:00:00Z"
}
encrypted flag cannot be changed after creation.