POST http://yourserver.com/services/undocheckout/<assetId> |
What does it do?
Undo a checkout for a single asset.
POST requests only
This REST API only accepts POST requests, not GET requests. Also, the POST request needs to include a cross-site request forgery (csrf) token.
The csrf token is a unique code which, by including it in the request, also makes the POST request unique and therefore much more secure.
The csrf token is obtained by first logging in to Elvis Server through a POST request. The response that is received will include the csrf token which can then be used in subsequent POST requests as a http header:
"X-CSRF-TOKEN: <some_csrf_token>"
For more information including examples, see Elvis 6 REST API - Performing a POST request with a csrf token.
Parameters
assetId |
Elvis id of the asset that was checked out. Required |
Examples
The following reverts the check out.
undocheckout http://demo.elvisdam.com/services/undocheckout/FpERTjYia2X81GoYQi7btF |
Comments
Do you have corrections or additional information about this article? Leave a comment!
Do you have a question about what is described in this article? Please contact support here.
0 comments
Please sign in to leave a comment.