service-accounts
Update service-account token
Changed onUpdate the name and/or permissions of an existing service account token.
patch/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}
- Auth: HTTP bearer
Path parameters
namestring required
serviceAccountIdstring required
tokenIdstring required
Request body
Response
Updated token info
Changes
- info
added the new
repo.contribute.writeenum value to the request property/
- info
- breaking
the
/request property type changed from no type tostring - breaking
the
/request property type changed from no type tostring
- breaking