---
title: "Get a security role"
method: GET
path: "/security-roles/{id}"
tags: ["Security Roles"]
---

# Get a security role

`GET /security-roles/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/security-roles/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

200

- SecurityRole
  - `id` string: The unique identifier for the object.
  - `name` string: The name of the security role.
  - `description` string, nullable: A description of the security role. `null` when no description is set.
  - `isActive` boolean: Whether the security role is active.
  - `isDefault` boolean: Whether this is the default security role assigned to newly invited members.
  - `createdAt` string, date-time: The timestamp when the object was created.
  - `modifiedAt` string, date-time: The timestamp when the object was last modified.

## Other responses

- `400`: 400
- `404`: 404

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
