cURL
curl --request POST \ --url https://{host}.freeplay.ai/api/v2/projects/{project_id}/prompt-templates/id/{template_id}/versions/{version_id}/environments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "environments": [ "<string>" ] } '
{}
Update Template Environments - Update Template Environments
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
EmptyResponse()
The response is of type EmptyResponse · object.
EmptyResponse · object