Skip to main content
POST
/
api
/
accesscontrol
/
assignAccessControlCredential
Assign access control credential
curl --request POST \
  --url https://api2.rhombussystems.com/api/accesscontrol/assignAccessControlCredential \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "credentialHexValue": "1234567890ABCDEF",
  "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 assign an access control credential to a user.

credentialHexValue
string | null

Hex value of the credential

Example:

"1234567890ABCDEF"

userUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response for assigning an access control credential to a user.

credential
object

Updated Wiegand credential details