GET

Get aliases for user

Returns all aliases of the specified user from all alias-enabled applications

Request

Query parameters

user

string

Responses

returns all aliases of the specified user

GET/rest/appmanagement/1/aliases
1 2 curl --request GET \ --url 'http://{baseurl}/rest/rest/appmanagement/1/aliases'
PUT

Set aliases for user

Sets the alias for the given username in all the applications, replacing the previous alias set for the same username, if they exist. Applications that are not included in the map will have their aliases removed

Request

Query parameters

user

string

Request bodyapplication/json

map of aliases keyed by application ID

Additional Properties

string

Responses

returned if aliases have been updated

PUT/rest/appmanagement/1/aliases
1 2 3 4 5 6 7 curl --request PUT \ --url 'http://{baseurl}/rest/rest/appmanagement/1/aliases' \ --header 'Content-Type: application/json' \ --data '{ "applicationid-1": "Alias-1", "applicationid-3": "Alias-3" }'
DEL

Delete aliases for user

Removes all aliases of the specified user from all applications, even from applications where aliasing is disabled

Request

Query parameters

user

string

Responses

returned if aliases have been removed

DEL/rest/appmanagement/1/aliases
1 2 curl --request DELETE \ --url 'http://{baseurl}/rest/rest/appmanagement/1/aliases'
GET

Get alias

Returns the user's alias in the specified application

Request

Path parameters

applicationId

integer

Required

Query parameters

user

string

Responses

the operation succeeded and the alias was retrieved

GET/rest/appmanagement/1/aliases/{applicationId}/alias
1 2 curl --request GET \ --url 'http://{baseurl}/rest/rest/appmanagement/1/aliases/{applicationId}/alias'
PUT

Set alias

Sets the user's alias in the specified application

Request

Path parameters

applicationId

integer

Required

Query parameters

user

string

Request bodytext/plain

new alias for the user

string

Responses

the operation succeeded and the alias was updated

PUT/rest/appmanagement/1/aliases/{applicationId}/alias
1 2 curl --request PUT \ --url 'http://{baseurl}/rest/rest/appmanagement/1/aliases/{applicationId}/alias'
DEL

Delete alias

Removes user's alias in a specified application

Request

Path parameters

applicationId

integer

Required

Query parameters

user

string

Responses

the operation succeeded and the alias has been removed

DEL/rest/appmanagement/1/aliases/{applicationId}/alias
1 2 curl --request DELETE \ --url 'http://{baseurl}/rest/rest/appmanagement/1/aliases/{applicationId}/alias'
GET

Get username for alias

Returns user's username in a specified application

Request

Path parameters

applicationId

integer

Required

Query parameters

alias

string

Responses

returns the username behind the alias (if exists)

GET/rest/appmanagement/1/aliases/{applicationId}/username
1 2 curl --request GET \ --url 'http://{baseurl}/rest/rest/appmanagement/1/aliases/{applicationId}/username'

Rate this page: