---
title: "Applied from Spala Step Script."
method: POST
path: "/api/organization-roles"
tags: ["organization-roles"]
---

# Applied from Spala Step Script.

`POST /api/organization-roles`

## Request

- Base URL: `https://api.spala.ai/api`
- URL: `https://api.spala.ai/api/api/organization-roles`
- Auth: HTTP bearer

## Request body

- object
  - `organization_id` string, required
  - `name` string, required

## Response `200`

Successful response

- object
  - `role` object
    - `id` string
    - `created_at` string
    - `name` string
    - `organization_id` string
    - `updated_at` string

## Other responses

- `401`: Unauthorized - authentication required

---

[API](https://skmtc.dev/spala/apis/admin.md) · [All operations](https://skmtc.dev/spala/apis/admin/llms.txt) · [OpenAPI document](https://skmtc.dev/spala/apis/admin/revisions/723cc50571ee?raw)
