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.
[BaseURL]/SecurityToken/Assertion/{AssertionID}/SecurityTokenExchange[?duration={Duration}]
POST
HTTP 201 Created
Location: [BaseURL]/SecurityToken/Assertion/{AssertionID}
A reference to the newly created SAML Assertion
In the following example an AssertionID is used to create a new SecurityToken.
POST /rest/2015/02/SecurityToken/Assertion/_9c681ac7-aa13-4468-a73a-b7a9f06d9216/SecurityTokenExchange HTTP/1.1
Host: api.uvvu.com
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]