3.1.1. Get access status
GET /access
Description
Returns the current client's authenticated identity and permissions to top-level resources
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
CurrentUser |
409 |
NiFi Registry was unable to complete the request because it assumes a server state that is not valid. The NiFi Registry might be running unsecured. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Authorization |
Example HTTP request
Request path
/access
Example HTTP response
Response
path
{
"identity" : "string",
"anonymous" : true,
"loginSupported" : true,
"resourcePermissions" : {
"buckets" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"tenants" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"policies" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"proxy" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"anyTopLevelResource" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
}
}
}