![]() |
REST API
15
REST API for Luna Network HSMs
|
This resource creates a REST API role. Can only contain alphanumeric characters. It will be available in LunaSH too. Only the "exit" command will be accessible in LunaSH through this resource.
Users with the following role privileges can perform this command:
The role ID of the role to create.
Use: Required
JSON Schema:
Object
type: string
The full name of the role.
Use: Not Required
JSON Schema:
Object
type: string
Success
"Location" is the URL to the newly created role.
Unexpected failure
POST
https://1.2.3.4:8443/roles
{
"roleId": "restRole",
"fullName": "restRoleName"
}
{
}