@Path(value="/auth/keys")
public interface IAPIKeys
| Modifier and Type | Method and Description |
|---|---|
APIKey |
create(java.lang.String displayName)
Creates an
APIKey for the given core session. |
void |
delete(java.lang.String sid)
Deletes an
APIKey |
APIKey |
get(java.lang.String sid) |
java.util.List<APIKey> |
list() |
APIKey |
store(java.lang.String key,
java.lang.String displayName)
Creates an
APIKey for the given core session using the provided key
as SID. |
@PUT APIKey create(@QueryParam(value="displayName") java.lang.String displayName) throws ServerFault
APIKey for the given core session. This will be usable as
a valid password to impersonate the user.displayName - the name of the APIKeyAPIKey to impersonate the userServerFault@PUT
@Path(value="{key}")
APIKey store(@PathParam(value="key")
java.lang.String key,
@QueryParam(value="displayName")
java.lang.String displayName)
throws ServerFault
APIKey for the given core session using the provided key
as SID. The key will be usable as a valid password to impersonate the user.key - SID the name of the APIKeydisplayName - the name of the APIKeyAPIKey to impersonate the userServerFault@DELETE
@Path(value="{sid}")
void delete(@PathParam(value="sid")
java.lang.String sid)
throws ServerFault
APIKeysid - the APIKey.sidServerFault@GET java.util.List<APIKey> list() throws ServerFault
APIKeyServerFault@GET
@Path(value="{sid}")
APIKey get(@PathParam(value="sid")
java.lang.String sid)
throws ServerFault
ServerFaultCopyright © 2023. All Rights Reserved.