Interface IAPIKeys
- All Known Subinterfaces:
IInternalAPIKeys
@Path("/auth/keys")
public interface IAPIKeys
-
Method Summary
-
Method Details
-
create
Creates anAPIKeyfor the given core session. This will be usable as a valid password to impersonate the user.- Parameters:
displayName- the name of theAPIKey- Returns:
- an
APIKeyto impersonate the user - Throws:
ServerFault
-
put
@PUT @Path("_put") String put(@QueryParam("displayName") String displayName, String sid) throws ServerFault Put anAPIKeySID for the given core session. This will be usable as a valid password to impersonate the user.- Parameters:
displayName- the name of theAPIKeysid- the SID of theAPIKey- Returns:
- UID of
APIKey - Throws:
ServerFault
-
delete
Deletes anAPIKey- Parameters:
sid- theAPIKey.sid- Throws:
ServerFault
-
list
- Returns:
- a List of
APIKey - Throws:
ServerFault
-