Skip to main content
POST
/
api
/
accesscontrol
/
createStandardCsnCredential
Create standard CSN credential
curl --request POST \
  --url https://api2.rhombussystems.com/api/accesscontrol/createStandardCsnCredential \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "credentialValue": "123456789",
  "endDateEpochSecExclusive": 1672531200,
  "startDateEpochSecInclusive": 1640995200,
  "userUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'
{
  "credential": {
    "createdAtMillis": 123,
    "endDateEpochSecExclusive": 123,
    "lastUsedAccessControlledDoorUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "lastUsedAtMillis": 123,
    "lastUsedLocationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "lowercaseHexValue": "<string>",
    "managedCredUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "note": "<string>",
    "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "startDateEpochSecInclusive": 123,
    "type": "STANDARD_CSN",
    "updatedAtMillis": 123,
    "userUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "uuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "value": "<string>",
    "workflowStatus": "ACTIVE"
  }
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to create a standard CSN credential.

credentialValue
string | null

Credential value

Example:

"123456789"

endDateEpochSecExclusive
integer<int64> | null

End date in epoch seconds (exclusive)

Example:

1672531200

startDateEpochSecInclusive
integer<int64> | null

Start date in epoch seconds (inclusive)

Example:

1640995200

userUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response for standard CSN credential creation.

credential
object

Updated Wiegand credential details