Create Custom Enrollment for REST Proxy

post

/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments

Create a custom enrollment for a REST proxy.

Request

Supported Media Types
Path Parameters
Body ()
Create custom enrollment
Root Schema : createCustomEnrollmentBody
Type: object
Show Source
Example:
{
    "enrollmentId":"my-custom-enrollment",
    "attributes":{
        "username":"my_username@oracle.com",
        "department":"operations",
        "role":"ADMIN"
    }
}
Nested Schema : attributes
Type: object
Additional Properties Allowed
Show Source
Custom keys with string value attributes to be added to the enrollment certificate
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object

400 Response

Invalid arguments
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

401 Response

Unauthorized

403 Response

Forbidden

500 Response

Internal server error
Body ()
Root Schema : 500errorModels
Type: object
Show Source

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top