Create Custom Enrollment for REST Proxy

post

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

Create a custom enrollment for a REST proxy. Enrollments allow users to call the REST proxy without an enrollment certificate. Enrollements require a new user group to be defined on your authentication server.

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
  • Special attribute to associate the default user for the enrollment
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object

400 Response

Invalid argument
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