Update
Update access token
Http Method
POST
End Point
/~api/access-tokens/{accessTokenId}
Placeholder Description Example
{accessTokenId} Access Token Id 1
Request Body
Content Type
application/json
Example
{
"name" : "string" ,
"hasOwnerPermissions" : true ,
"expireDate" : "2024-12-03T17:09:22.059+00:00"
}
Response
Operation Successful
Status Code
200
Response Body
No response body
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> -X POST [email protected] -H "Content-Type: application/json" https://git.codedune.app/~api/access-tokens/1
Please wait...
Page is in error, reload to recover