Skip to main content
Version: 1.5

Admin - Set a default signing policy for a user

POST 

/admin/policies/set-user-default-policy

authorization

This API endpoint requires an API Key with at least one of the following Roles: SystemAdmin | PoliciesManager

Set the default policy for a user. The default policy is the policy that is attached to a key share if no policy is attached directly to the key share.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Body

required

    oneOf

    policy_namestringrequired
    user_idUserIdrequired

Responses