curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/token/inspect \
--header 'Authorization: Bearer <token>'{
"subject": "<string>",
"projects": [
{
"projectUrlName": "<string>",
"groups": [
123
]
}
],
"capabilities": [
{
"groupsAcl": {
"actions": [
"LIST"
],
"scope": {
"all": {}
}
},
"projectScope": {
"allProjects": {}
}
}
]
}Required capabilities:
projectsAcl:LISTgroupsAcl:LIST
Inspect CDF access granted to an IdP issued token
curl --request GET \
--url https://{cluster}.cognitedata.com/api/v1/token/inspect \
--header 'Authorization: Bearer <token>'{
"subject": "<string>",
"projects": [
{
"projectUrlName": "<string>",
"groups": [
123
]
}
],
"capabilities": [
{
"groupsAcl": {
"actions": [
"LIST"
],
"scope": {
"all": {}
}
},
"projectScope": {
"allProjects": {}
}
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Ok response
Subject (sub claim) of JWT
Show child attributes
Show child attributes
Was this page helpful?