This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Get the Enrollment with the specified rid.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:admin-read.
objectstringstringstringThe time at which the resource was created.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/admin/enrollments/ri.control-panel.main.customer.466f812b-f974-4478-9d4f-90402cd3def6?preview=true"1
2
3
4
5
{
"name": "Example Enrollment",
"createdTime": "2003-05-06T12:34:56.789Z",
"rid": "ri.control-panel.main.customer.466f812b-f974-4478-9d4f-90402cd3def6"
}| Error Name | ||
|---|---|---|
Enrollment | Error Code | NOT_FOUND |
| Status Code | 404 | |
| Description | The given Enrollment could not be found. | |
| Parameters | enrollmentRid | |
See Errors for a general overview of errors in the platform.