delete-private-tokenfamilies-TOKEN_FAMILY_SLUG.rst (663B)
1 .. http:delete:: [/instances/$INSTANCE]/private/tokenfamilies/$TOKEN_FAMILY_SLUG 2 3 This is used to delete a token family. Issued tokens of this family will not 4 be spendable anymore. 5 6 **Required permission:** ``tokenfamilies-write`` 7 8 **Response:** 9 10 :http:statuscode:`204 No content`: 11 The backend has successfully deleted the token family. 12 :http:statuscode:`404 Not found`: 13 The merchant backend is unaware of the token family or instance. 14 :http:statuscode:`500 Internal Server Error`: 15 The server experienced an internal failure. 16 Returned with ``TALER_EC_GENERIC_DB_STORE_FAILED`` or 17 ``TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE``.