Kinde · Example Payload

Kinde Create Role Example

AuthenticationAuthorizationCustomer IdentityIdentity ManagementOAuthOpenID ConnectSingle Sign-OnMulti-Factor AuthenticationRole-Based Access ControlFeature FlagsBillingB2BSaaSDeveloper Platform

Kinde Create Role Example is an example object payload from Kinde, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://acme.kinde.com/api/v1/roles",
    "headers": {
      "Authorization": "Bearer <KINDE_M2M_ACCESS_TOKEN>",
      "Content-Type": "application/json"
    },
    "body": {
      "name": "Billing Admin",
      "description": "Can view and modify billing settings.",
      "key": "billing_admin",
      "is_default_role": false
    }
  },
  "response": {
    "status": 201,
    "body": {
      "role": {
        "id": "role_a1b2c3",
        "key": "billing_admin",
        "name": "Billing Admin"
      }
    }
  }
}