API Tokens | Coolify

API Tokens

@if (!$isApiEnabled)
API is disabled. If you want to use the API, please enable it in the Settings menu.
@else
Tokens are created with the current team as scope.

New Token

@can('create', App\Models\PersonalAccessToken::class)
@foreach ($expirationOptions as $days => $label) @endforeach Create
Permissions :
@if ($permissions) @foreach ($permissions as $permission)
{{ $permission }}
@endforeach @endif
@if ($canUseRootPermissions) @else @endif @if (!in_array('root', $permissions)) @if ($canUseWritePermissions) @else @endif @endif
@if (in_array('root', $permissions))
Root access, be careful!
@endif
@endcan @if (session()->has('token'))
Please copy this token now. For your security, it won't be shown again.
{{ session('token') }}
@endif

Issued Tokens

@forelse ($tokens as $token) @empty @endforelse
Description Permissions Last used Created Expires Actions
{{ $token->name }} @if ($token->abilities)
@foreach ($token->abilities as $ability)
{{ $ability }}
@endforeach
@endif
{{ $token->last_used_at ? $token->last_used_at->diffForHumans() : 'Never' }} {{ $token->created_at->diffForHumans() }} @if (! $token->expires_at) Never @elseif ($token->expires_at->isPast()) Expired {{ $token->expires_at->format('Y-m-d H:i:s') }} @else {{ $token->expires_at->format('Y-m-d H:i:s') }} @endif @if (auth()->id() === $token->tokenable_id) @endif
No API tokens found.
@endif