Rhombus icon

Rhombus

Interact with Rhombus security cameras, access control, and IoT sensors

Access Control → Create Credential

AI-generated

Summary

Create a standard CSN badge credential for a user in the Rhombus access control system.

Inputs

  • userId (required) — User to assign the credential to. Select from list or provide UUID matching pattern [A-Za-z0-9_-]{22,36}.
  • credentialValue (required) — Badge CSN value (e.g., 123456789)
  • additionalFields — Optional credential metadata (expiry/activation dates).

Output shape

Rhombus API response from POST /api/accesscontrol/createStandardCsnCredential

Dates are converted to Unix epoch seconds (floor of milliseconds / 1000) before transmission.

Examples

Example 1: Assign a new badge credential to a specific user via UUID

userId: { mode: 'id', value: 'AAAAAAAAAAAAAAAAAAAAAA' }, credentialValue: '123456789'

Example 2: Assign a credential with an expiry date 30 days from now

userId: { mode: 'list', value: 'user-uuid-here' }, credentialValue: '987654321', additionalFields: { endDateEpochSecExclusive: '2025-01-01T00:00:00.000Z' }

Links

Discussion