Autional Autional
API Reference GitHub autional.com →

PUT /admin/tenants/{tenant_id}/app-types/{type_id}

Update the name and description of a custom application type.

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID
type_id path string Yes Type ID

Request Body

Schema: handler.updateAppTypeRequest

FieldTypeRequiredExampleConstraintsDescription
description string No
name string No

Responses

StatusDescriptionSchema
200Updated successfullydto.ApplicationTypeDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
404Application type not foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.ApplicationTypeDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.ApplicationTypeResponse No
message string No
timestamp string No

dto.ApplicationTypeResponse

FieldTypeRequiredExampleConstraintsDescription
code string No custom-crm
created_at string No 2026-01-01T00:00:00Z
description string No Tenant custom application type
id string No 550e8400-e29b-41d4-a716-446655440000
name string No Custom CRM
tenant_id string No tenant-123
updated_at string No 2026-01-01T00:00:00Z

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No