Create API Token
Changed onCreate an API Token. The API Token created must use a subset of permissions the API token creating them.
This endpoint consumes 10 units of your quota.
This endpoint requires the following org token scopes:
- api-tokens:create
Request
- Base URLhttps://api.socket.dev/v0
- URLhttps://api.socket.dev/v0/orgs/{org_slug}/api-tokens
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
The slug of the organization
Request body
Response
The newly created api token with its stable UUID and hash.
Changes
- info
added the new
alert-policyenum value to the request property/ - info
added the new
alert-policy:createenum value to the request property/ - info
added the new
alert-policy:deleteenum value to the request property/ - info
added the new
alert-policy:listenum value to the request property/ - info
added the new
alert-policy:readenum value to the request property/ - info
added the new
alert-policy:updateenum value to the request property/ - info
added the new
selected-organizationenum value to the request property/ - info
added the new
socket-firewall-deploymentenum value to the request property/ - info
added the new
socket-firewall-deployment:updateenum value to the request property/ - info
added the new
vulnerability-feedenum value to the request property/ - info
added the new
vulnerability-feed:listenum value to the request property/
- info