REST API  7.0.0
REST API for SafeNet Network HSMs
POST /roles

POST /roles

This resource creates a REST API role.

Parameters

roleId

The role ID of the role to create.

Use: Required

JSON Schema:

   Object
   type: string

fullName

The full name of the role.

Use: Not Required

JSON Schema:

   Object
   type: string

Responses

204

Success

Location

"Location" is the URL to the newly created role.

400

Unexpected failure

Example Request

    POST
    https://1.2.3.4:8443/roles
    {
       "roleId": "testRole",
       "fullName": "testRoleName"
    }

Example Response

    {
    }