> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Credentials in RLCL

> Replaces all credentials in an RLCL with the provided list. This completely replaces the existing credential list.

## Endpoint

```
PUT /apiops/projects/{projectName}/rlcl/{rlclName}/credentials/
```

## Authentication

Requires a Personal API Access Token.

### Header

```
Authorization: Bearer YOUR_TOKEN
```

## Request

Same structure as Add Credentials. See [Add Credentials](/api-reference/rlcl/credentials/add-credentials) for field descriptions.

### Important Notes

* This endpoint replaces ALL existing credentials with the provided list
* If you want to add credentials without removing existing ones, use Add Credentials endpoint

## Response

Same as Add Credentials. See [Add Credentials](/api-reference/rlcl/credentials/add-credentials) for response format.

## cURL Example

```bash theme={null}
curl -X PUT \
  "https://demo.apinizer.com/apiops/projects/MyProject/rlcl/PremiumUserRLCL/credentials/" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "credentialNameList": [
      "new-user-1",
      "new-user-2"
    ]
  }'
```

## Permissions

* User must have **`IDENTITY` + `MANAGE`** permission in the project

## Notes and Warnings

* **Complete Replacement**:
  * Replaces ALL existing credentials with the provided list
  * Existing credentials not in the new list are removed
* **Use Add Credentials for Addition**:
  * If you want to add credentials without removing existing ones, use Add Credentials endpoint

## Related Documentation

* [Add Credentials](/api-reference/rlcl/credentials/add-credentials) - Add credentials without removing existing ones
* [Delete Credentials](/api-reference/rlcl/credentials/delete-credentials) - Remove specific credentials
