Users
The open invitations to the instance alone (no organization). An expired invitation is not listed.
x-pontive-instance-id<token>Instance ID for the request
invitee_emails?array<string>Filter by invitees email
invited_by?stringFilter by inviter user ID
page?integerPage number
limit?integerItems per page
search?stringSearch by invitee email
sort?stringSort field; prefix with - for descending (e.g. -created_at). Allowed: created_at, updated_at, expires_at, last_sent_at. Default: -created_at
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/root/invitations'{ "data": [ { "created_at": "string", "expires_at": "string", "id": "string", "invited_by": { "id": "string", "name": "string" }, "invitee_email": "string", "last_sent_at": "string", "message": "string", "object": "string", "organization_id": "string", "resend_count": 0, "resource_id": "string", "resource_roles": [ { "key": "string", "name": "string" } ], "resource_type": "string", "roles": [ { "key": "string", "name": "string" } ], "updated_at": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Invite people to the instance alone, with no organization: each gets an email whose link lets them create their own account in the app (choosing their own password or sign-in method), and accepting grants nothing else. For people who belong to no organization — in a b2c instance, everyone; in a b2b one, for example the client's own staff. An address that already has an account is skipped (already_registered); one with a pending invitation to the instance has it reissued with a new link. The app must have org_access all. 200 when every address was skipped, 201 when any invitation was sent.
x-pontive-instance-id<token>Instance ID for the request
Invite payload
application/json- body
Invite payload
app_id?stringAppID is the application the invitee creates their account in: whose sign-in domain the link points at, whose branding and flows they see, and whose initiate_login_uri they land on. Its org_access must be all, since the invitee joins no organization. Optional when exactly one active app of the instance has it; required when several do.
emails*array<string>message?stringOK
application/json- response
invitations?array<>Invitations are the invitations sent: new ones, and live ones an address already held to the same target, reissued with this request's roles and a new link (resend_count > 0) — the earlier link stops working.
object?stringorganization_id?stringOrganizationID is the organization invited into; absent for an invitation to the instance.
skipped?array<>Skipped are the addresses that got no invitation, and why. Skipping is not an error: a request whose every address was skipped still succeeds.
curl -X POST 'https://api.us.pontive.com/v1/root/invitations' \ -H 'Content-Type: application/json' \ -d '{ "emails": [ "string" ]}'{ "invitations": [ { "created_at": "string", "expires_at": "string", "id": "string", "invited_by": { "id": "string", "name": "string" }, "invitee_email": "string", "last_sent_at": "string", "message": "string", "object": "string", "organization_id": "string", "resend_count": 0, "resource_id": "string", "resource_roles": [ { "key": "string", "name": "string" } ], "resource_type": "string", "roles": [ { "key": "string", "name": "string" } ], "updated_at": "string" } ], "object": "string", "organization_id": "string", "skipped": [ { "email": "string", "reason": "already_member" } ]}One open invitation to the instance alone (no organization). An organization's invitation is not found here.
x-pontive-instance-id<token>Instance ID for the request
invitation_id*stringInvitation ID
OK
application/json- response
created_at?stringexpires_at?stringid?stringinvited_by?InvitedBy is the user of the instance who sent it. Absent when a service account or a Pontive operator (from the dashboard) sent it.
invitee_email?stringlast_sent_at?stringmessage?stringobject?stringorganization_id?stringOrganizationID is the organization the invitee joins; absent for an invitation to the instance alone.
resend_count?integerresource_id?stringResourceID is the resource of the organization the invitation also grants membership of, with ResourceRoles; absent for an invitation to the organization alone.
resource_roles?array<>resource_type?stringroles?array<>updated_at?stringcurl -X GET 'https://api.us.pontive.com/v1/root/invitations/string'{ "created_at": "string", "expires_at": "string", "id": "string", "invited_by": { "id": "string", "name": "string" }, "invitee_email": "string", "last_sent_at": "string", "message": "string", "object": "string", "organization_id": "string", "resend_count": 0, "resource_id": "string", "resource_roles": [ { "key": "string", "name": "string" } ], "resource_type": "string", "roles": [ { "key": "string", "name": "string" } ], "updated_at": "string"}Withdraw an invitation to the instance: it is deleted, and its link stops working.
x-pontive-instance-id<token>Instance ID for the request
invitation_id*stringInvitation ID
notify_invitee?booleanEmail the invitee that the invitation was withdrawn
No Content
curl -X DELETE 'https://api.us.pontive.com/v1/root/invitations/string'Send an invitation to the instance again, with a new link; the earlier link stops working.
x-pontive-instance-id<token>Instance ID for the request
invitation_id*stringInvitation ID
Resend Invitation payload
application/json- body
Resend Invitation payload
message?stringnew_expire_at?stringOK
application/json- response
created_at?stringexpires_at?stringid?stringinvited_by?InvitedBy is the user of the instance who sent it. Absent when a service account or a Pontive operator (from the dashboard) sent it.
invitee_email?stringlast_sent_at?stringmessage?stringobject?stringorganization_id?stringOrganizationID is the organization the invitee joins; absent for an invitation to the instance alone.
resend_count?integerresource_id?stringResourceID is the resource of the organization the invitation also grants membership of, with ResourceRoles; absent for an invitation to the organization alone.
resource_roles?array<>resource_type?stringroles?array<>updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/root/invitations/string/resend' \ -H 'Content-Type: application/json' \ -d '{}'{ "created_at": "string", "expires_at": "string", "id": "string", "invited_by": { "id": "string", "name": "string" }, "invitee_email": "string", "last_sent_at": "string", "message": "string", "object": "string", "organization_id": "string", "resend_count": 0, "resource_id": "string", "resource_roles": [ { "key": "string", "name": "string" } ], "resource_type": "string", "roles": [ { "key": "string", "name": "string" } ], "updated_at": "string"}Get a list of users with pagination and filtering
x-pontive-instance-id<token>Instance ID for the request
status?stringFilter by status
email?stringFilter by exact email
search?stringMatches email, name or username, case-insensitively, anywhere in the value
page?integerPage number
limit?integerItems per page
sort?stringSort field; prefix with - for descending (e.g. -created_at). Allowed: created_at, updated_at, email, name, username, status. Default: -created_at
exclude_organization_id?stringExclude users who are members of this organization (prefixed org_… id)
exclude_any_organization?booleanExclude users who are members of any organization (only unaffiliated users)
username?stringExact match on the username: finds a user by it (D17)
external_id?stringExact match on the caller's own id for the user: finds a user by it (D17)
migration_source_id?stringUsers with a legacy identity in this migration source (msrc_), pontive-spec 46
legacy_subject?stringThe user whose id in the system they were imported from is this (exact), in migration_source_id when set
password_status?stringUsers whose password is none, active, or imported and not yet replaced at a first sign-in
"none""active""imported"OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/users'{ "data": [ { "address": { "country": "string", "formatted": "string", "locality": "string", "postal_code": "string", "region": "string", "street_address": "string" }, "birthdate": "string", "created_at": "string", "email": "string", "email_verified": true, "external_id": "string", "family_name": "string", "gender": "string", "given_name": "string", "id": "string", "instance_id": "string", "legacy_identities": [ { "created_at": "string", "migration_source_id": "string", "subject": "string" } ], "locale": "string", "metadata": { "property1": "string", "property2": "string" }, "middle_name": "string", "name": "string", "nickname": "string", "object": "string", "password_change_required": true, "password_status": "none", "phone": "string", "phone_verified": true, "picture": "string", "private_metadata": { "property1": "string", "property2": "string" }, "profile": "string", "status": "active", "updated_at": "string", "username": "string", "website": "string", "zoneinfo": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Create a new user
x-pontive-instance-id<token>Instance ID for the request
Create User Request
application/json- body
Create User Request
address?birthdate?stringemail*stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment.
family_name?stringgender?stringgiven_name?stringlocale?stringmetadata?middle_name?stringname?stringnickname?stringpassword?stringpassword_change_required?booleanphone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringreadonly_metadata?username?stringwebsite?stringzoneinfo?stringCreated
application/json- response
address?birthdate?stringcreated_at?stringemail?stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment; the access-token claims template reads it as user.external_id.
family_name?stringgender?stringgiven_name?stringid?stringinstance_id?stringlegacy_identities?array<>LegacyIdentities are the user's ids in the systems they were imported from. Read-only.
locale?stringmetadata?middle_name?stringname?stringnickname?stringobject?stringpassword_change_required?booleanpassword_status?stringPasswordStatus is none, active (a password set in Pontive) or imported (a hash imported from another system, replaced at the user's first sign-in; pontive-spec 46 §4.6). Read-only.
"none""active""imported"phone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringstatus?string"active""deleted""deactivated"updated_at?stringusername?stringwebsite?stringzoneinfo?stringcurl -X POST 'https://api.us.pontive.com/v1/users' \ -H 'Content-Type: application/json' \ -d '{ "email": "string"}'{ "address": { "country": "string", "formatted": "string", "locality": "string", "postal_code": "string", "region": "string", "street_address": "string" }, "birthdate": "string", "created_at": "string", "email": "string", "email_verified": true, "external_id": "string", "family_name": "string", "gender": "string", "given_name": "string", "id": "string", "instance_id": "string", "legacy_identities": [ { "created_at": "string", "migration_source_id": "string", "subject": "string" } ], "locale": "string", "metadata": { "property1": "string", "property2": "string" }, "middle_name": "string", "name": "string", "nickname": "string", "object": "string", "password_change_required": true, "password_status": "none", "phone": "string", "phone_verified": true, "picture": "string", "private_metadata": { "property1": "string", "property2": "string" }, "profile": "string", "status": "active", "updated_at": "string", "username": "string", "website": "string", "zoneinfo": "string"}Retrieve the user the caller gave this external id: an exact match on the instance-unique external_id. Answers the user or 404. Percent-encode the value.
x-pontive-instance-id<token>Instance ID for the request
external_id*stringThe id the caller gave the user
OK
application/json- response
address?birthdate?stringcreated_at?stringemail?stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment; the access-token claims template reads it as user.external_id.
family_name?stringgender?stringgiven_name?stringid?stringinstance_id?stringlegacy_identities?array<>LegacyIdentities are the user's ids in the systems they were imported from. Read-only.
locale?stringmetadata?middle_name?stringname?stringnickname?stringobject?stringpassword_change_required?booleanpassword_status?stringPasswordStatus is none, active (a password set in Pontive) or imported (a hash imported from another system, replaced at the user's first sign-in; pontive-spec 46 §4.6). Read-only.
"none""active""imported"phone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringstatus?string"active""deleted""deactivated"updated_at?stringusername?stringwebsite?stringzoneinfo?stringcurl -X GET 'https://api.us.pontive.com/v1/users/external_id/string'{ "address": { "country": "string", "formatted": "string", "locality": "string", "postal_code": "string", "region": "string", "street_address": "string" }, "birthdate": "string", "created_at": "string", "email": "string", "email_verified": true, "external_id": "string", "family_name": "string", "gender": "string", "given_name": "string", "id": "string", "instance_id": "string", "legacy_identities": [ { "created_at": "string", "migration_source_id": "string", "subject": "string" } ], "locale": "string", "metadata": { "property1": "string", "property2": "string" }, "middle_name": "string", "name": "string", "nickname": "string", "object": "string", "password_change_required": true, "password_status": "none", "phone": "string", "phone_verified": true, "picture": "string", "private_metadata": { "property1": "string", "property2": "string" }, "profile": "string", "status": "active", "updated_at": "string", "username": "string", "website": "string", "zoneinfo": "string"}Retrieve one user by their id or their username. A value in the id form (usr_ and 26 base32 characters) is read as the id; anything else as the username. An email is never a path value: find a user by email with GET /users?email=. Every route under /users/{user} takes either.
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
OK
application/json- response
address?birthdate?stringcreated_at?stringemail?stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment; the access-token claims template reads it as user.external_id.
family_name?stringgender?stringgiven_name?stringid?stringinstance_id?stringlegacy_identities?array<>LegacyIdentities are the user's ids in the systems they were imported from. Read-only.
locale?stringmetadata?middle_name?stringname?stringnickname?stringobject?stringpassword_change_required?booleanpassword_status?stringPasswordStatus is none, active (a password set in Pontive) or imported (a hash imported from another system, replaced at the user's first sign-in; pontive-spec 46 §4.6). Read-only.
"none""active""imported"phone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringstatus?string"active""deleted""deactivated"updated_at?stringusername?stringwebsite?stringzoneinfo?stringcurl -X GET 'https://api.us.pontive.com/v1/users/string'{ "address": { "country": "string", "formatted": "string", "locality": "string", "postal_code": "string", "region": "string", "street_address": "string" }, "birthdate": "string", "created_at": "string", "email": "string", "email_verified": true, "external_id": "string", "family_name": "string", "gender": "string", "given_name": "string", "id": "string", "instance_id": "string", "legacy_identities": [ { "created_at": "string", "migration_source_id": "string", "subject": "string" } ], "locale": "string", "metadata": { "property1": "string", "property2": "string" }, "middle_name": "string", "name": "string", "nickname": "string", "object": "string", "password_change_required": true, "password_status": "none", "phone": "string", "phone_verified": true, "picture": "string", "private_metadata": { "property1": "string", "property2": "string" }, "profile": "string", "status": "active", "updated_at": "string", "username": "string", "website": "string", "zoneinfo": "string"}Update an existing user (partial update)
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
Update User Request
application/json- body
Update User Request
address?birthdate?stringemail?stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment. Set to "" to clear.
family_name?stringgender?stringgiven_name?stringlocale?stringmetadata?middle_name?stringname?stringnickname?stringpassword_change_required?booleanphone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringreadonly_metadata?username?stringwebsite?stringzoneinfo?stringOK
application/json- response
address?birthdate?stringcreated_at?stringemail?stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment; the access-token claims template reads it as user.external_id.
family_name?stringgender?stringgiven_name?stringid?stringinstance_id?stringlegacy_identities?array<>LegacyIdentities are the user's ids in the systems they were imported from. Read-only.
locale?stringmetadata?middle_name?stringname?stringnickname?stringobject?stringpassword_change_required?booleanpassword_status?stringPasswordStatus is none, active (a password set in Pontive) or imported (a hash imported from another system, replaced at the user's first sign-in; pontive-spec 46 §4.6). Read-only.
"none""active""imported"phone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringstatus?string"active""deleted""deactivated"updated_at?stringusername?stringwebsite?stringzoneinfo?stringcurl -X PATCH 'https://api.us.pontive.com/v1/users/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "address": { "country": "string", "formatted": "string", "locality": "string", "postal_code": "string", "region": "string", "street_address": "string" }, "birthdate": "string", "created_at": "string", "email": "string", "email_verified": true, "external_id": "string", "family_name": "string", "gender": "string", "given_name": "string", "id": "string", "instance_id": "string", "legacy_identities": [ { "created_at": "string", "migration_source_id": "string", "subject": "string" } ], "locale": "string", "metadata": { "property1": "string", "property2": "string" }, "middle_name": "string", "name": "string", "nickname": "string", "object": "string", "password_change_required": true, "password_status": "none", "phone": "string", "phone_verified": true, "picture": "string", "private_metadata": { "property1": "string", "property2": "string" }, "profile": "string", "status": "active", "updated_at": "string", "username": "string", "website": "string", "zoneinfo": "string"}Permanently delete a user
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
No Content
curl -X DELETE 'https://api.us.pontive.com/v1/users/string'The apps a user has granted scopes to through the OAuth consent screen, with the scopes granted. Unpaginated.
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
page?integerPage number
limit?integerItems per page, 1 to 100
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/users/string/authorized-apps'{ "data": [ { "apis": [ { "api_id": "string", "name": "string", "scopes": [ "string" ] } ], "app_id": "string", "app_name": "string", "created_at": "string", "logo_url": "string", "scopes": [ "string" ], "updated_at": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Withdraw a user's consent to an app: the grant and the user's refresh tokens at that app are deleted, so the app must ask again. The user's session stays. An app the user has not authorized reads as 404.
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
app_id*stringApp ID
Consent withdrawn
curl -X DELETE 'https://api.us.pontive.com/v1/users/string/authorized-apps/string'Deactivate a user
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
OK
application/json- response
address?birthdate?stringcreated_at?stringemail?stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment; the access-token claims template reads it as user.external_id.
family_name?stringgender?stringgiven_name?stringid?stringinstance_id?stringlegacy_identities?array<>LegacyIdentities are the user's ids in the systems they were imported from. Read-only.
locale?stringmetadata?middle_name?stringname?stringnickname?stringobject?stringpassword_change_required?booleanpassword_status?stringPasswordStatus is none, active (a password set in Pontive) or imported (a hash imported from another system, replaced at the user's first sign-in; pontive-spec 46 §4.6). Read-only.
"none""active""imported"phone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringstatus?string"active""deleted""deactivated"updated_at?stringusername?stringwebsite?stringzoneinfo?stringcurl -X POST 'https://api.us.pontive.com/v1/users/string/deactivate'{ "address": { "country": "string", "formatted": "string", "locality": "string", "postal_code": "string", "region": "string", "street_address": "string" }, "birthdate": "string", "created_at": "string", "email": "string", "email_verified": true, "external_id": "string", "family_name": "string", "gender": "string", "given_name": "string", "id": "string", "instance_id": "string", "legacy_identities": [ { "created_at": "string", "migration_source_id": "string", "subject": "string" } ], "locale": "string", "metadata": { "property1": "string", "property2": "string" }, "middle_name": "string", "name": "string", "nickname": "string", "object": "string", "password_change_required": true, "password_status": "none", "phone": "string", "phone_verified": true, "picture": "string", "private_metadata": { "property1": "string", "property2": "string" }, "profile": "string", "status": "active", "updated_at": "string", "username": "string", "website": "string", "zoneinfo": "string"}List the groups a user belongs to
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
page?integerPage number
limit?integerItems per page
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/users/string/groups'{ "data": [ { "created_at": "string", "external_id": "string", "id": "string", "member_count": 0, "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "owner_id": "string", "owner_type": "string", "updated_at": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}List a user's memberships across every container kind — the instance root, organizations and resources (D4) — read-only; memberships are written on their container. resource_type narrows them to one kind of container by its registry key (root, org or a custom type key, D44). Each carries its container's name and external_id.
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
resource_type?stringOnly the memberships on containers of this type: root, org or a custom type key (D44)
organization_id?stringOnly the memberships on this organization's resources, at any depth (what removing the user from it also removes)
page?integerPage number
limit?integerItems per page
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/users/string/memberships'{ "data": [ { "created_at": "string", "instance_id": "string", "joined_at": "string", "last_active_at": "string", "object": "string", "resource_external_id": "string", "resource_id": "string", "resource_name": "string", "resource_type": "string", "roles": [ { "key": "string", "name": "string" } ], "updated_at": "string", "user_id": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Activate a deactivated user
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
OK
application/json- response
address?birthdate?stringcreated_at?stringemail?stringemail_verified?booleanexternal_id?stringExternalID is your own id for this user, unique per project environment; the access-token claims template reads it as user.external_id.
family_name?stringgender?stringgiven_name?stringid?stringinstance_id?stringlegacy_identities?array<>LegacyIdentities are the user's ids in the systems they were imported from. Read-only.
locale?stringmetadata?middle_name?stringname?stringnickname?stringobject?stringpassword_change_required?booleanpassword_status?stringPasswordStatus is none, active (a password set in Pontive) or imported (a hash imported from another system, replaced at the user's first sign-in; pontive-spec 46 §4.6). Read-only.
"none""active""imported"phone?stringphone_verified?booleanpicture?stringprivate_metadata?profile?stringstatus?string"active""deleted""deactivated"updated_at?stringusername?stringwebsite?stringzoneinfo?stringcurl -X POST 'https://api.us.pontive.com/v1/users/string/reactivate'{ "address": { "country": "string", "formatted": "string", "locality": "string", "postal_code": "string", "region": "string", "street_address": "string" }, "birthdate": "string", "created_at": "string", "email": "string", "email_verified": true, "external_id": "string", "family_name": "string", "gender": "string", "given_name": "string", "id": "string", "instance_id": "string", "legacy_identities": [ { "created_at": "string", "migration_source_id": "string", "subject": "string" } ], "locale": "string", "metadata": { "property1": "string", "property2": "string" }, "middle_name": "string", "name": "string", "nickname": "string", "object": "string", "password_change_required": true, "password_status": "none", "phone": "string", "phone_verified": true, "picture": "string", "private_metadata": { "property1": "string", "property2": "string" }, "profile": "string", "status": "active", "updated_at": "string", "username": "string", "website": "string", "zoneinfo": "string"}List the OP sessions belonging to a user — the records that a browser is signed in, independent of any token issued. The response carries no session secret: the id is the public OIDC sid claim.
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
page?integerPage number
limit?integerItems per page
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/users/string/sessions'{ "data": [ { "acr": "string", "active": true, "amr": [ "string" ], "app_id": "string", "auth_time": "string", "clients": [ "string" ], "created_at": "string", "expires_at": "string", "id": "string", "ip_address": "string", "object": "string", "revoked_at": "string", "user_agent": "string", "user_id": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}End one of a user's sessions. Every grant consults the same flag afterwards, so no token has to be found or enumerated. A session belonging to a different user reads as 404.
x-pontive-instance-id<token>Instance ID for the request
user*stringThe user's id, or their username
session_id*stringSession ID
Session revoked successfully
curl -X POST 'https://api.us.pontive.com/v1/users/string/sessions/string/revoke'