# Resource Type

Represents a type of resource and its possible relationships in your application. See [Resource Types](/fga/schema/schema-syntax/resource-types) to learn more about relation rules. See [JSON Syntax](/fga/schema/schema-syntax) for more examples.

### get

## Get a resource type

Get the definition of an existing resource type.

### delete

## Delete a resource type

Deletes a resource type in the current environment.

### create

## Create a resource type

Create a new resource type in the current environment.

### apply

## Apply resource types

Sets resource types in the current environment to match the provided resource types.

> This endpoint performs a batch operation which will override your entire schema for the environment. Any existing resource types not included in the request will be deleted.

### update

## Update a resource

Update the meta of an existing resource in the current environment.

### list

## List resources

Get a list of all your existing resources matching the criteria specified.

### Resource

---