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
- application/json
Path Parameters
-
restProxyId(required): string
REST Proxy ID
Create custom enrollment
Root Schema : createCustomEnrollmentBody
Type:
Show Source
object
-
attributes:
object attributes
Additional Properties Allowed: additionalPropertiesCustom keys with string value attributes to be added to the enrollment certificate
-
enrollmentId(required):
string
enrollment ID
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
-
username:
string
Special attribute to associate the default user for the enrollment
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : schema
Type:
object
400 Response
Invalid argument
401 Response
Unauthorized
403 Response
Forbidden
500 Response
Internal server error
Default Response
Unexpected error