OAuth
Update OAuth metadata,redirecturi,description and Policy ID
Changed onAllows you to update the metadata,redirecturi,description and Policy ID for an OAuth client.
put/tyk/oauth/clients/{apiID}/{keyName}
Request
- Base URLhttps://localhost:8080
- URLhttps://localhost:8080/tyk/oauth/clients/{apiID}/{keyName}
- AuthAPI key in header X-Tyk-Authorization
Path parameters
apiIDstring required
The API id
keyNamestring required
The Client ID
Request body
Example request
{
"api_id": "keyless",
"client_id": "2a06b398c17f46908de3dffcb71ef87b",
"description": "google client login",
"redirect_uri": "https://httpbin.org/ip",
"secret": "MmQwNTI5NGQtYjU0YS00NjMyLWIwZjktNTZjY2M1ZjhjYWY0"
}Response
OAuth client updated
Example response
{
"api_id": "keyless",
"client_id": "2a06b398c17f46908de3dffcb71ef87b",
"description": "google client login",
"redirect_uri": "https://httpbin.org/ip",
"secret": "MmQwNTI5NGQtYjU0YS00NjMyLWIwZjktNTZjY2M1ZjhjYWY0"
}Changes
- info
endpoint added
- info
- breaking
api removed without deprecation
- breaking