---
title: "Store Delegation"
method: POST
path: "/api/v1/auth/delegation"
tags: ["Auth"]
---

# Store Delegation

`POST /api/v1/auth/delegation`

Allows an authenticated user to store a signed delegation.
The frontend should construct and sign the delegation using the Gator SDK.

## Request body

- DelegationCreate
  - `delegate_address` string, required
  - `signed_delegation_data` string, required
  - `expiry` string, date-time
  - `is_active` boolean

## Response `200`

Successful Response

- DelegationRead
  - `delegate_address` string, required
  - `signed_delegation_data` string, required
  - `expiry` string, date-time
  - `is_active` boolean
  - `id` integer, required
  - `user_id` integer, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/morpheusais/apis/morpheus-api-gateway.md) · [All operations](https://skmtc.net/morpheusais/apis/morpheus-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morpheusais/morpheus-api-gateway/versions/061297d1593b/schema)
