oauth
Get the groups for a token
Changed onGet the list of groups a token can be used to access.
get/oauth/token/{id}/groups
Request
- Base URLhttps://api.twinehealth.com/pub
- AuthOAuth 2Client credentialsToken URL: /oauth/token scopes: group, organization
Path parameters
idstring required
Token identifier
Response
OK
Example response
{
"meta": {
"req_id": "ab554093-6081-4d37-aa7b-ca6312367ca4",
"count": 1
},
"links": {
"self": "/pub/oauth/token/5817a24d678a7c2cbf5df3ee/groups"
},
"data": [
{
"type": "group",
"id": "5755db2a3db4179179999acf",
"attributes": {
"name": "Patients Lead"
},
"links": {
"self": "/pub/group/5755db2a3db4179179999acf"
}
}
]
}Changes
- info
the endpoint scheme security
OAuth2was added to the API - info
the endpoint scheme security
twine_authwas removed from the API
- info