Taifa Identity. Docs
OpenAPI
Developers

API reference

Resubmit

Management API contract View .md

POST/v1/me/organization-requests/{request_id}/resubmit

Authentication Bearer access token with audience taifa-management. Roles and local eligibility are reviewed separately from the OpenAPI bearer scheme.

Parameters

NameInTypeRequiredDescription
request_idpathstringYes
idempotency-keyheaderstringYes

Request body

application/jsonRequiredidentity__organization_requests__Resubmit

FieldTypeRequiredDescription
namestringYesValidation: min length 2; max length 200
organization_typestringYesValidation: min length 2; max length 100
websitestringYesValidation: min length 8; max length 2048
domainsstring[]YesValidation: min items 1; max items 10
purposestringYesValidation: min length 12; max length 4000
contactsContact[]YesValidation: min items 1; max items 10
reasonstringYesValidation: min length 8; max length 500
expected_versionintegerYesValidation: minimum 1

Responses

200Successful Response

Content type: application/jsonUnspecified response schema

No fields declared in the current specification.

Other responses

StatusDescriptionSchema
422Validation ErrorHTTPValidationError

Request example

Illustrative only. TypeScript runs in Node.js on the server. Keep management tokens out of browser bundles. Replace the host, token, path values, and any header or required body placeholders before use. Examples do not send requests.

Shell
curl -X POST 'https://YOUR_IDENTITY_HOST/v1/me/organization-requests/REPLACE_WITH_REQUEST_ID/resubmit' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'idempotency-key: REPLACE_WITH_IDEMPOTENCY_KEY' \
  -H 'Content-Type: application/json' \
  --data '{
  "name": "REPLACE_WITH_NAME",
  "organization_type": "REPLACE_WITH_ORGANIZATION_TYPE",
  "website": "REPLACE_WITH_WEBSITE",
  "domains": [],
  "purpose": "REPLACE_WITH_PURPOSE",
  "contacts": [],
  "reason": "REPLACE_WITH_REASON",
  "expected_version": 0
}'

Response example

No response example in the current specification.

Popular

Browse by section