Cosigners

Pair API user

Pair an API user to a cosigner Endpoint Permission: Admin and Non-Signing Admin.

put/cosigners/{cosignerId}/api_users/{apiUserId}

Request

Path parameters

cosignerIdstring uuid required

The unique identifier of the cosigner

apiUserIdstring required

The unique identifier of the API user

Headers

Idempotency-Keystring

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.

Request body

Example request

{
  "callbackHandler": {
    "url": "https://example.com/callback-handler",
    "publicKey": "-----BEGIN PUBLIC KEY-----\n... truncated ...-----END PUBLIC KEY-----",
    "cert": "-----BEGIN CERTIFICATE-----\n... truncated ...\n-----END CERTIFICATE-----"
  }
}

Response

The API user object to be paired

idstring uuid required

The unique identifier of the API user

Example response

{
  "id": "44fcead0-7053-4831-a53a-df7fb90d440f",
  "callbackHandler": {
    "url": "https://example.com/callback-handler",
    "publicKey": "-----BEGIN PUBLIC KEY-----\n... truncated ...-----END PUBLIC KEY-----",
    "cert": "-----BEGIN CERTIFICATE-----\n... truncated ...\n-----END CERTIFICATE-----"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.