curl --request POST \
--url https://platform.versori.com/api/v2/o/{organisation_id}/activations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userId": "<string>",
"environmentId": "<string>",
"connections": [
{
"connectionTemplateId": "<string>",
"existingConnectionId": "<string>"
}
],
"dynamicVariables": {}
}
'{
"id": "<string>",
"user": {
"id": "<string>",
"externalId": "<string>",
"displayName": "<string>",
"organisationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"connections": [
{
"id": "<string>",
"name": "<string>",
"credentials": [
{
"id": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"baseUrl": "<string>",
"systemId": "<string>",
"connectionTemplateId": "<string>"
}
],
"dynamicVariables": {}
}ActivateUser activates a user on an environment. This will create a new activation record for the user on the environment. Connections must be made for all environment systems to be successfully activated.
curl --request POST \
--url https://platform.versori.com/api/v2/o/{organisation_id}/activations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"userId": "<string>",
"environmentId": "<string>",
"connections": [
{
"connectionTemplateId": "<string>",
"existingConnectionId": "<string>"
}
],
"dynamicVariables": {}
}
'{
"id": "<string>",
"user": {
"id": "<string>",
"externalId": "<string>",
"displayName": "<string>",
"organisationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"connections": [
{
"id": "<string>",
"name": "<string>",
"credentials": [
{
"id": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"baseUrl": "<string>",
"systemId": "<string>",
"connectionTemplateId": "<string>"
}
],
"dynamicVariables": {}
}Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.