Update Credentials in RLCL

Overview

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.

Authorization: Bearer YOUR_TOKEN

Request

Same structure as Add Credentials. See 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 for response format.

cURL Example

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"
    ]
  }'

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