# Delete certificate

> Delete a certificate based on its ID.

Delete a certificate based on its ID.

## API Endpoint

`DELETE {accessURL}/{organizationName}/identity_/api/SamlCertificate/{partitionGlobalId}/{certificateId}`

Replace `{accessURL}` in all endpoint paths with the base URL for your cloud platform:

| Cloud platform | Access URL |
| --- | --- |
| Test Cloud | `https://cloud.uipath.com/` |
| Test Cloud Public Sector | `https://govcloud.uipath.us/` |
| Test Cloud Dedicated | `https://{customURL}.dedicated.uipath.com/` |

## Scopes

Requires the following scope: `PM.AuthSetting`.

## Request headers

```
--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](https://docs.uipath.com/test-cloud/automation-cloud/latest/api-guide/authentication-methods#authentication-methods).
:::

## Request body

The request body contains the organization ID, as `partitionGlobalId` and the certificate ID.

## Responses

### 200 Success

The certificate has been successfully deleted.

```
true
```
