@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() |
@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 APIKey
APIKey
to impersonate the userServerFault
@DELETE @Path(value="{sid}") void delete(@PathParam(value="sid") java.lang.String sid) throws ServerFault
APIKey
sid
- the APIKey.sid
ServerFault
@GET java.util.List<APIKey> list() throws ServerFault
APIKey
ServerFault
@GET @Path(value="{sid}") APIKey get(@PathParam(value="sid") java.lang.String sid) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.