{"type":"api","title":"Create Authorization Token","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/d2a1854d5c0ed9069a7f0bc54a9b813f3075ddc9/8d90c1c9-c837-3fd0-b490-f53b89fa3aa9","info":{"title":"Cisco Secure Access Token Authorization API","version":"2.0.0","description":"Cisco Secure Access Token Authorization API","contact":{"name":"Cloud Security Developer Community"}},"security":[{"http":[]}],"tags":[{"name":"Token"},{"name":"Secure Access"}],"x-parser-conf":{"overview":{"markdownPath":"secure-access/reference/auth/token-overview.md","uri":"secure-access-api-reference-auth-token-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.sse.cisco.com/{basePath}","variables":{"basePath":{"default":"auth/v2"}}}],"securitySchemes":{"http":{"type":"http","scheme":"basic"}}},"spec":{"operationId":"createAuthToken","tags":["Token","Secure Access"],"description":"Create an authorization token.","summary":"Create Authorization Token","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","description":"The authentication information that is required to create an access token.","required":["grant_type"],"properties":{"grant_type":{"type":"string","enum":["client_credentials"],"description":"The type of client grant type.","example":"client_credentials"}}},"example":{"grant_type":"client_credentials"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"token_type":{"type":"string","description":"The type of token.","example":"bearer"},"access_token":{"type":"string","description":"The access token.","example":"xxxxxxx"},"expires_in":{"type":"integer","description":"The number of seconds in which the token expires.","example":3600}},"required":["token_type","access_token","expires_in"],"example":{"token_type":"bearer","access_token":"bearer access token","expires_in":3600},"$$ref":"#/components/schemas/Token"},"example":{"token_type":"bearer","access_token":"xxxxxx","expires_in":3600}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/400Error"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/401Error"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/403Error"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/404Error"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/500Error"}},"__originalOperationId":"createAuthToken","security":[{"http":[]}],"method":"post","path":"/token"}}