Raven Slingshot Credentials

Form of a Raven Slingshot Credentials resource:

{
"apiKey": "str",
"accessKey": "str",
"sharedSecret": "str",
"status": "str"
}

Endpoints

DescriptionEndpoints
Get the Raven Slingshot credentialsGET /users/{leafUserId}/raven-slingshot-credentials
Create a Raven Slingshot credentialsPOST /users/{leafUserId}/raven-slingshot-credentials
Delete Raven Slingshot credentialsDELETE /users/{leafUserId}/raven-slingshot-credentials

Raven Slingshot Credentials Endpoints

Get the Raven Slingshot credentials

 GET /users/{leafUserId}/raven-slingshot-credentials

Get the Raven Slingshot credentials of the Leaf User based on its id and returns a JSON with the credentials.

Request examples

curl -X GET \
-H 'Authorization: Bearer YOUR_TOKEN' \
'https://api.withleaf.io/services/usermanagement/api/users/{leafUserId}/raven-slingshot-credentials'

Response

A Raven Slingshot credentials resources as a JSON.

Create a Raven Slingshot credentials

 POST /users/{leafUserId}/raven-slingshot-credentials

Create a Raven Slingshot credentials for the Leaf User.

Request examples

A Raven Slingshot credentials.

{
"apiKey": "str",
"accessKey": "str",
"sharedSecret": "str"
}
curl -X POST \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{ "apiKey": "str", "accessKey": "str", "sharedSecret": "str" }' \
'https://api.withleaf.io/services/usermanagement/api/users/{leafUserId}/raven-slingshot-credentials'

Response

A Raven Slingshot Credentials with status.

Delete Raven Slingshot credentials

 DELETE /users/{leafUserId}/raven-slingshot-credentials

Delete Leaf User's Raven Slingshot credentials.

Request examples

curl -X DELETE \
-H 'Authorization: Bearer YOUR_TOKEN' \
'https://api.withleaf.io/services/usermanagement/api/users/{leafUserId}/raven-slingshot-credentials'