REST APILinkLink Permissions

POST

Creates the "Link Admin" role (permissions bitgo.link.admin, link.account.transfer, link.account.view, enterprise.view) for the enterprise's organization via Roles & Permissions. Requires the caller to be an organization admin; there is no request body.

Path Params

  • enterpriseId string required
    Your enterprise id.

    at least 1 characters · matches ^[0-9a-f]{32}$

Header Params

  • user-id string required
    User id of the user making the request.

    at least 1 characters

Responses

201
Created

Response Body

object

Response for Link activation.

Carries the roleId of the "Link Admin" role created in the User Management Service.

  • roleId string required
400
Bad Request
No response body
401
Unauthorized

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required
403
Forbidden

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required
404
Not Found

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required
409
Conflict

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required
422
Unprocessable Entity

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required
500
Internal Server Error

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required