GET
Get the caller's Link permissions
Returns the calling user's effective Link permissions for the enterprise:
the enterprise-wide bitgo.link.admin flag plus effective account-level
admin / transfer / view scopes. Reveals only the caller's own permissions.
Path Params
-
enterpriseIdstring requiredYour enterprise id.
Header Params
-
user-idstring requiredUser id of the user making the request.
Responses
200
OK
Response Body
object
The calling user's Link permissions for one enterprise. Each account scope is
the permission as resolved by UMS (UMS already includes implied grants — e.g. a
link.account.admin/transfer grant carries the implied link.account.view),
so consumers only need membership checks. bitgoLinkAdmin is a distinct
enterprise-wide capability, reported separately and not folded into the scopes.-
bitgoLinkAdminboolean requiredEnterprise-widebitgo.link.admingrant. Drives non-account-scoped actions (e.g. "+ Link Account"). -
adminobjectlink.account.admin(manage) scope, as resolved by UMS. Omitted when the user has no admin grant.ONE OF
-
scopestring enum requiredALL
-
accountsarray of strings required -
scopestring enum requiredLIMITED
-
-
transferobjectlink.account.transferscope, as resolved by UMS. Omitted when the user has no transfer grant.ONE OF
-
scopestring enum requiredALL
-
accountsarray of strings required -
scopestring enum requiredLIMITED
-
-
viewobjectlink.account.viewscope, as resolved by UMS (includes accounts implied by admin/transfer grants). Omitted when none.ONE OF
-
scopestring enum requiredALL
-
accountsarray of strings required -
scopestring enum requiredLIMITED
-
400
Bad Request
No response body
401
Unauthorized
Response Body
object
-
errorNamestring required -
errorstring required
500
Internal Server Error
Response Body
object
-
errorNamestring required -
errorstring required