delete-private-tokens-SERIAL.rst (468B)
1 .. http:delete:: [/instances/$INSTANCE]/private/tokens/$SERIAL 2 3 Delete a token for ``$INSTANCE`` API access by its ``$SERIAL``. 4 5 6 @since **v19** 7 8 **Required permission**: ``tokens-write`` 9 10 **Response:** 11 12 :http:statuscode:`204 No content`: 13 Token deleted. 14 :http:statuscode:`401 Unauthorized`: 15 Invalid or missing credentials. 16 :http:statuscode:`403 Forbidden`: 17 Missing permission. 18 :http:statuscode:`404 Not found`: 19 The token was not found.