Skip to main content
POST
/
management
/
api_users
TypeScript
const response: Promise<FireblocksResponse<void>> = fireblocks.apiUser.createApiUser(apiUserApiCreateApiUserRequest);
{
  "error": {
    "message": "<string>"
  }
}

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Body

application/json
role
string
required

Users role

name
string
required

Users name

csrPem
string
required

CSR file that is used to verify API requests. read more https://developers.fireblocks.com/docs/quickstart

Example:

"-----BEGIN CERTIFICATE REQUEST-----aaa-----END CERTIFICATE REQUEST-----"

coSignerSetupType
string

Different environments allow for different setup options, field is required for management/signer role

Example:

"SGX_MACHINE"

coSignerSetupIsFirstUser
boolean

pass as true if this is the first user on the coSigner machine

Response

User creation approval request has been sent