---
title: Delete Device Credentials
slug: jetstream-v3/delete-device-credentials
docTags: 
createdAt: 2024-01-23T15:31:06.178Z
---

## About

Remove credentials from the access control list of the specified device. The credentials are not removed from the device until a [Sync Device Credentials](docId\:L7Ik_rA1wcy3PhHm0fWQS) call is initiated.

:::hint{type="info"}
To delete all credentials currently on a device without having to specify each credential, simply send a [Modify Device Credentials](docId\:J3NcV3RiuIbv506_jobzd) command with an empty array.
:::

:::hint{type="warning"}
Certain programming languages, like Java, may not be able to send a DELETE with a body. If you find this to be the case, simply use the PATCH verb instead of DELETE when deleting credentials.
:::

## Parameters

| **Property**                                         | **Location**                        | **Details**                                                                                                                                                                                                                                         |
| ---------------------------------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **AccessKey**<br />string<br />Required<br />Unique  | Header                              | The access key for your user account.<br />This value is a 36-character GUID provided in your [user profile](docId\:BbIFQiuIXND5iAfMreBBi).                                                                                                         |
| **DeviceName**<br />string<br />Required<br />Unique | URL                                 | The name of the device.<br />This value has a max length of 128 ASCII characters.<br />This value must adhere to this regular expression: ^\[a-zA-Z0-9-\_,. ]\*$                                                                                    |
| **Credentials**<br />array(string)<br />Required     | Body<br />*Request*<br />*Response* | The 10-40 digit hexadecimal RFID values of the access passes that this device should add to its access control list.<br />Note: This is not the 6-digit ID printed on the back of the access pass. That number is simply for visual identification. |

## Example

### Request URL

**DELETE** https\://api.jetstreamrfid.com/3/devices/\{Device Name}/credentials/basic

### Request Body

:::BlockQuote
\[
&#x20;   "MyBasicCredentials1\_Value",&#x20;
&#x20;   "MyBasicCredentials2\_Value",&#x20;
&#x20;   "MyBasicCredentials3\_Value"
]
:::

### Response Code

204 No Content

### Response Body

None Returned

## Version Changes

A combination of this endpoint and the [Sync Device Credentials](docId\:L7Ik_rA1wcy3PhHm0fWQS) endpoint replaces the Add and/or Remove Passes endpoint – specifically, the Remove Passes part.
