automation-cloud
latest
false
UiPath logo, featuring letters U and I in white

Automation Cloud API guide

Last updated Oct 16, 2025

Switch certificates

Switch the secondary certificate to become the primary certificate.

API Endpoint

POST https://cloud.uipath.com/{organizationName}/identity_/api/SamlCertificate/{partitionGlobalId}/switch

Scopes

Requires the following scope: PM.AuthSetting.

Request headers

--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
Note: To obtain the {access_token}, make sure to authenticate through one of the methods described here.

Request body

The request body contains only the organization ID, as partitionGlobalId.

Responses

200 Success

The secondary certificate has been successfully switched with the primary certificate.

{
  "partitionGlobalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "primaryCertificateId": 0,
  "primaryCertificate": "string",
  "primaryCertificateThumbprint": "string",
  "secondaryCertificateId": 0,
  "secondaryCertificate": "string",
  "secondaryCertificateThumbprint": "string"
}{
  "partitionGlobalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "primaryCertificateId": 0,
  "primaryCertificate": "string",
  "primaryCertificateThumbprint": "string",
  "secondaryCertificateId": 0,
  "secondaryCertificate": "string",
  "secondaryCertificateThumbprint": "string"
}
  • API Endpoint
  • Scopes
  • Request headers
  • Request body
  • Responses
  • 200 Success

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.