REST Resources
-
/ -
/active-user-sessions -
/active-user-sessions /{id} -
/api-access-profiles -
/api-access-profiles /{id} -
/capabilities -
/capabilities /{cid} /roles /{rid} -
/capabilities /{cid} /tasks /{tid} -
/capabilities /{id} -
/capabilities /{id} /roles -
/capabilities /{id} /tasks -
/certificate -
/certificate /{certificate-id} -
/check-enabled-tasks -
/clear-local-passwords -
/disable-users -
/enable-users -
/generate-temp-password -
/job-instances /{job-id} /export-roles-data -
/job-instances /{job-id} /terminate-user-session-job-results -
/login -
/login-status -
/logout -
/profiles -
/profiles /{id} -
/profiles /{id} /roles -
/profiles /{id} /roles /{rid} -
/roles -
/roles /{id} -
/roles /{role-id} /capabilities -
/roles /{role-id} /capabilities /{capability-id} -
/roles /{role-id} /tasks -
/roles /{role-id} /tasks /{task-id} -
/tasks -
/tasks /{id} -
/terminate-user-sessions -
/unlock-users -
/upload-image -
/user-preference-states -
/user-profiles -
/user-profiles /{profile-id} -
/users -
/users /{id} -
/users /{id} /active-user-sessions -
/users /{id} /disable-user -
/users /{id} /enable-user -
/users /{id} /roles -
/users /{uid} /active-user-sessions /{rid} -
/users /{uid} /roles /{rid} -
/users /{user-id} /capabilities -
/users /{user-id} /change-password -
/users /{user-id} /image -
/users /{user-id} /validate-password -
/validate-password
/api/space/user-management/profiles/{id}/roles/{rid}
The following operations are supported on this resource:
GET /profiles/{id}/roles/{rid} | Version 1 |
This API retrieves a specific role from a particular remote profile.
Sample Usage
GET /profiles/{id}/roles/{rid}
- Parameters:
Name Type URI Type Description Required id int Path The ID of the profile from which to retrieve the specified role. Y rid int Path The ID of the role to retrieve from the profile. Y
- Accept Headers:
application/vnd.net.juniper.space.user-management.role-ref+xml;version=1
application/vnd.net.juniper.space.user-management.role-ref+json;version=1
<role key="65696" uri="/api/space/user-management/profiles/458785/roles/65696"
href="/api/space/user-management/roles/65696">
<name>userAdmin</name>
<title>User Administrator</title>
</role>
{
"role":{
"@key":"65696",
"@uri":
"/api/space/user-management/profiles/458785/roles/65696",
"@href":
"/api/space/user-management/roles/65696",
"name":"userAdmin",
"title":"User Administrator"
}
}
Access Control
The following capabilities are required to access this API: ReadProfile
DELETE /profiles/{id}/roles/{rid} | Version 1 |
This API deletes a specific role from a particular remote profile.
Sample Usage
DELETE /profiles/{id}/roles/{rid}
- Parameters:
Name Type URI Type Description Required id int Path The ID of the profile from which to delete the role. Y rid int Path The ID of the role to delete from the profile. Y
Access Control
The following capabilities are required to access this API: DeleteProfile