User Provider Identity
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
providerstring · enumRequiredPossible values:
Provider to link a user identity for
sourcestring · enumOptionalPossible values:
Originating client surface (attribution only)
Responses
403
Forbidden - Requires role: owner, member
No content
post/sfp/api/user/provider-identity/device/start
POST /sfp/api/user/provider-identity/device/start HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"provider": "github",
"source": "web-device"
}403
Forbidden - Requires role: owner, member
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
flowIdstringRequired
The flow_id returned by device/start
sourcestring · enumOptionalPossible values:
Originating client surface (attribution only)
Responses
403
Forbidden - Requires role: owner, member
No content
post/sfp/api/user/provider-identity/device/poll
POST /sfp/api/user/provider-identity/device/poll HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"flowId": "text",
"source": "web-device"
}403
Forbidden - Requires role: owner, member
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
403
Forbidden - Requires role: owner, member
No content
get/sfp/api/user/provider-identity
GET /sfp/api/user/provider-identity HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
403
Forbidden - Requires role: owner, member
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
403
Forbidden - Requires role: owner, member
No content
delete/sfp/api/user/provider-identity/{id}
DELETE /sfp/api/user/provider-identity/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
403
Forbidden - Requires role: owner, member
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
403
Forbidden - Requires role: owner, member
No content
post/sfp/api/user/provider-identity/{id}/refresh
POST /sfp/api/user/provider-identity/{id}/refresh HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
403
Forbidden - Requires role: owner, member
No content
Last updated
Was this helpful?