User Provider Identity

Start an OAuth device flow to link a provider identity

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
providerstring · enumRequired

Provider to link a user identity for

Possible values:
sourcestring · enumOptional

Originating client surface (attribution only)

Possible values:
Responses
post
/sfp/api/user/provider-identity/device/start
403

Forbidden - Requires role: owner, member

No content

Poll a device flow; links the identity on success

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
flowIdstringRequired

The flow_id returned by device/start

sourcestring · enumOptional

Originating client surface (attribution only)

Possible values:
Responses
post
/sfp/api/user/provider-identity/device/poll
403

Forbidden - Requires role: owner, member

No content

List the caller's linked provider identities

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
get
/sfp/api/user/provider-identity
403

Forbidden - Requires role: owner, member

No content

Revoke a linked provider identity

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
delete
/sfp/api/user/provider-identity/{id}
403

Forbidden - Requires role: owner, member

No content

Force a token refresh for a linked identity (debug / reconnect)

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
post
/sfp/api/user/provider-identity/{id}/refresh
403

Forbidden - Requires role: owner, member

No content

Last updated

Was this helpful?