SecurityTokenURIRefExchange()

This API is used to exchange an existing SecurityToken for a new one using the existing SecurityToken AssertionID.

Calling this API with a valid AssertionID will cause the user’s current SecurityToken to be deleted.

API URL:

[BaseURL]/SecurityToken/Assertion/{AssertionID}/SecurityTokenExchange[?duration={Duration}]

Request Method:

POST

Request Parameters:

Response Format

Status Code:

Headers:

Errors

Example

Exchange existing SecurityToken AssertionID for a new SecurityToken

In the following example an AssertionID is used to create a new SecurityToken.

Sample Request:

POST /rest/2015/02/SecurityToken/Assertion/_9c681ac7-aa13-4468-a73a-b7a9f06d9216/SecurityTokenExchange HTTP/1.1
Host: api.uvvu.com

Sample Response:

HTTP/1.1 201
Date: [Date]
Location: https://api.uvvu.com/rest/2015/02/SecurityToken/Assertion/_1914d5f8-5fce-4436-9dc1-803adea311d8
X-transaction-info: [TransactionInfo]

See Also